diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-07-31 16:38:15 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-07-31 16:38:15 -0400 |
| commit | 60cd96e366487b9a422ecc685b46a2b300c32be1 (patch) | |
| tree | 6e71adf12473ca438f10d7716a27a3f0ffc44c3d /commands/poweroff.js | |
| parent | 3aa27777a7bd1a9bff798412382db8aad3cbd19a (diff) | |
| download | AleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.tar.gz AleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.tar.bz2 AleeBot-60cd96e366487b9a422ecc685b46a2b300c32be1.zip | |
Cleanup; Upgraded to Discord.JS v13; More buttons
Diffstat (limited to 'commands/poweroff.js')
| -rw-r--r-- | commands/poweroff.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/poweroff.js b/commands/poweroff.js index 700005a..22fb6bb 100644 --- a/commands/poweroff.js +++ b/commands/poweroff.js @@ -27,7 +27,7 @@ module.exports.run = async (client, message) => { let statusChannel = client.channels.cache.get('606602551634296968'); if (!statusChannel) return console.error('The status channel does not exist! Skipping.'); - await statusChannel.send(stopEmbed); + await statusChannel.send({ embeds: [stopEmbed]}); await message.reply(':warning: AleeBot will now exit!'); console.log('[i] AleeBot will now exit!'.blue); client.destroy(); |
