diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-07-22 20:34:32 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-07-22 20:34:32 -0400 |
| commit | 6a1e54ffbb3668854103d3296a553aaca9c8d355 (patch) | |
| tree | 16c9987af4ae83837d75585dc11275c0785a3097 | |
| parent | dcb067c69eb84852814092306936fcc14262b7d1 (diff) | |
| download | DLAP-6a1e54ffbb3668854103d3296a553aaca9c8d355.tar.gz DLAP-6a1e54ffbb3668854103d3296a553aaca9c8d355.tar.bz2 DLAP-6a1e54ffbb3668854103d3296a553aaca9c8d355.zip | |
Fixed stop command
| -rw-r--r-- | bot.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); |
