diff options
Diffstat (limited to 'bot.js')
| -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(); |
