Bug fixes

This commit is contained in:
Joseph Gonzalo authored and GitHub committed 2019-08-04 20:42:35 -06:00
1 parent de0ec97d9b
commit b84c3c75a5
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -31,8 +31,9 @@ exports.run = async(bot, message, args) => {
let ac = message.guild.channels.find(AnnounceChannel => AnnounceChannel.name === `${bot.settings.Announcement_Channel}`)
if(!ac) return message.channel.send(`:x: Error! Could not find the logs channel **${bot.settings.Announcement_Channel}**`)
ac.send(embed)
// ac.send("@everyone")
ac.send("@everyone").then((msg) => {
ac.send(embed);
});
const SuggestionSuccessEmbed = new Discord.RichEmbed()
.setDescription(`:white_check_mark: You have successfully created an announcement. <#${ac.id}>`)