Update announce.js

This commit is contained in:
Two authored and GitHub committed 2020-07-27 10:44:06 -04:00
1 parent 8432290a70
commit f23f15c972
1 file changed
+2
+2
View File
@@ -14,6 +14,8 @@ module.exports = {
execute(message, args) { execute(message, args) {
if (supportbot.DeleteMessages == "true") message.delete();
let locateChannel = message.guild.channels.cache.find(AnnouncementChannel => AnnouncementChannel.name === supportbot.AnnouncementChannel); let locateChannel = message.guild.channels.cache.find(AnnouncementChannel => AnnouncementChannel.name === supportbot.AnnouncementChannel);
const errornochannel = new Discord.MessageEmbed() const errornochannel = new Discord.MessageEmbed()