Fix channel creation notifications when pingCreationNotification is enabled

master
Miikka Virtanen 2016-12-30 17:16:35 +02:00
parent fd80db33a3
commit d8047da399
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ bot.on('messageCreate', (msg) => {
} }
let creationNotificationMessage = `New modmail thread: ${channel.mention}`; let creationNotificationMessage = `New modmail thread: ${channel.mention}`;
if (config.pingCreationNotification) creationNotificationMessage = `@here ${config.pingCreationNotification}`; if (config.pingCreationNotification) creationNotificationMessage = `@here ${creationNotificationMessage}`;
bot.createMessage(modMailGuild.id, { bot.createMessage(modMailGuild.id, {
content: creationNotificationMessage, content: creationNotificationMessage,