aboutsummaryrefslogtreecommitdiff
path: root/commands/poweroff.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-01-02 14:32:10 -0500
committerAndrew Lee <alee14498@protonmail.com>2020-01-02 14:32:10 -0500
commita3dde2674a3cfc0568ed74a51ba0948cf5559258 (patch)
treef5e90245b5a3eb8ae62ba73134814a038314f4f4 /commands/poweroff.js
parentdcd4a1ae040862d3bad7d226eee44cd479de2c99 (diff)
downloadAleeBot-a3dde2674a3cfc0568ed74a51ba0948cf5559258.tar.gz
AleeBot-a3dde2674a3cfc0568ed74a51ba0948cf5559258.tar.bz2
AleeBot-a3dde2674a3cfc0568ed74a51ba0948cf5559258.zip
Service status, updating readme files
Diffstat (limited to 'commands/poweroff.js')
-rw-r--r--commands/poweroff.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/poweroff.js b/commands/poweroff.js
index 9011567..f336bed 100644
--- a/commands/poweroff.js
+++ b/commands/poweroff.js
@@ -19,6 +19,7 @@
* *************************************/
module.exports.run = async (client, message, args) => {
if (!['242775871059001344',].includes(message.author.id)) return message.reply('Nope! You need the person who created this bot to use this command.');
+ await client.channels.find('id', '606602551634296968').send("**AleeBot Status:** AleeBot is now going offline.");
await message.reply(':warning: AleeBot will now exit!');
client.destroy();
process.exit(0);