Fix channel creation notifications when pingCreationNotification is enabled
parent
fd80db33a3
commit
d8047da399
2
index.js
2
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,
|
||||
|
|
Loading…
Reference in New Issue