aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-07-22 20:34:32 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-07-22 20:34:32 -0400
commit6a1e54ffbb3668854103d3296a553aaca9c8d355 (patch)
tree16c9987af4ae83837d75585dc11275c0785a3097 /bot.js
parentdcb067c69eb84852814092306936fcc14262b7d1 (diff)
downloadDLAP-6a1e54ffbb3668854103d3296a553aaca9c8d355.tar.gz
DLAP-6a1e54ffbb3668854103d3296a553aaca9c8d355.tar.bz2
DLAP-6a1e54ffbb3668854103d3296a553aaca9c8d355.zip
Fixed stop command
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();