Clarify 'the bot is not on the modmail server' error slightly

cshd
Dragory 2020-11-04 23:18:45 +02:00
parent 5d01bd067b
commit 4e8c35cae7
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }