From d8047da3994615624b488157bc66d7057f9e42f5 Mon Sep 17 00:00:00 2001 From: Miikka Virtanen Date: Fri, 30 Dec 2016 17:16:35 +0200 Subject: [PATCH] Fix channel creation notifications when pingCreationNotification is enabled --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index fe5c432..6e8c0c3 100644 --- a/index.js +++ b/index.js @@ -298,7 +298,7 @@ bot.on('messageCreate', (msg) => { } let creationNotificationMessage = `New modmail thread: ${channel.mention}`; - if (config.pingCreationNotification) creationNotificationMessage = `@here ${config.pingCreationNotification}`; + if (config.pingCreationNotification) creationNotificationMessage = `@here ${creationNotificationMessage}`; bot.createMessage(modMailGuild.id, { content: creationNotificationMessage,