aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index 8a9182c..d8359bc 100644
--- a/bot.js
+++ b/bot.js
@@ -163,7 +163,7 @@ bot.on('message', async msg => {
.setColor('#0066ff')
let statusChannel = bot.channels.cache.get(config.statusChannel);
if (!statusChannel) return console.error('The status channel does not exist! Skipping.');
- statusChannel.send(statusEmbed);
+ await statusChannel.send(statusEmbed);
console.log('Powering off...');
dispatcher.destroy();
bot.destroy();