Clarify 'the bot is not on the modmail server' error slightly
parent
5d01bd067b
commit
4e8c35cae7
|
@ -18,7 +18,7 @@ let logChannel = null;
|
||||||
*/
|
*/
|
||||||
function getInboxGuild() {
|
function getInboxGuild() {
|
||||||
if (! inboxGuild) inboxGuild = bot.guilds.find(g => g.id === config.inboxServerId);
|
if (! inboxGuild) inboxGuild = bot.guilds.find(g => g.id === config.inboxServerId);
|
||||||
if (! inboxGuild) throw new BotError("The bot is not on the modmail (inbox) server!");
|
if (! inboxGuild) throw new BotError("The bot is not on the inbox server!");
|
||||||
return inboxGuild;
|
return inboxGuild;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue