Fix
parent
97ec8e6018
commit
876a18e59a
2
index.js
2
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}>`,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue