aboutsummaryrefslogtreecommitdiff
path: root/commands/poweroff.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/poweroff.js')
-rw-r--r--commands/poweroff.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/poweroff.js b/commands/poweroff.js
index 8067c5f..22fb6bb 100644
--- a/commands/poweroff.js
+++ b/commands/poweroff.js
@@ -1,7 +1,7 @@
/** **************************************
*
* Poweroff: Command for AleeBot
- * Copyright (C) 2017-2020 Alee Productions
+ * Copyright (C) 2017-2021 Alee Productions
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -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();