Bug fixes
This commit is contained in:
1 parent
de0ec97d9b
commit
b84c3c75a5
2 files changed
+4
-3
No files matched your search
@@ -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}>`)
|
||||
|
||||
Reference in new issue
Block a user