Update releasenotes.js

This commit is contained in:
Ralph 2021-04-05 12:22:26 -04:00 committed by GitHub
parent 13f2a7b7a4
commit 4f6ffa4e68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,8 @@ exports.releasenotes = {
if ((hasPerms(msg) && suffix === 'android post') || (hasPerms(msg) && suffix === 'desktop post')) { if ((hasPerms(msg) && suffix === 'android post') || (hasPerms(msg) && suffix === 'desktop post')) {
bot.channels.get(ChannelID).send(message); bot.channels.get(ChannelID).send(message);
} else { } else {
msg.channel.send(${msg.author.toString()} + ' Release notes sent via DM'); let authorMention = msg.author.toString();
msg.channel.send(`${authorMention}, Release notes sent via DM`);
msg.author.send(message); msg.author.send(message);
} }
} else { } else {