Fix thread notification channel mention
parent
e922f78ef3
commit
b82eb08505
2
index.js
2
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, {
|
||||
|
|
Loading…
Reference in New Issue