From b82eb0850517ad9734e3ff48bb14e645d4881198 Mon Sep 17 00:00:00 2001 From: Miikka Virtanen Date: Sun, 1 Jan 2017 06:36:15 +0200 Subject: [PATCH] Fix thread notification channel mention --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 74a68ca..e98a30e 100644 --- a/index.js +++ b/index.js @@ -311,7 +311,7 @@ bot.on('messageCreate', (msg) => { bot.createMessage(channel.id, `${logs.length} previous modmail logs with this user. Use !logs ${msg.author.id} for details.`); } - let creationNotificationMessage = `New modmail thread: ${channel.mention}`; + let creationNotificationMessage = `New modmail thread: <#${channel.id}>`; if (config.pingCreationNotification) creationNotificationMessage = `@here ${creationNotificationMessage}`; bot.createMessage(modMailGuild.id, {