From 876a18e59a181ddd710483af7d023992c5b587be Mon Sep 17 00:00:00 2001 From: Miikka Virtanen Date: Sun, 1 Jan 2017 06:10:36 +0200 Subject: [PATCH] Fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f6134cb..df4199d 100644 --- a/index.js +++ b/index.js @@ -220,7 +220,7 @@ function getModmailChannel(user, allowCreate = true) { id: channelId, name: 'temp-mock-channel', createMessage: function() { - return modMailGuild.createMessage(channelId, ...arguments); + return bot.createMessage(channelId, ...arguments); }, mention: `<#${channelId}>`, });