From a3dde2674a3cfc0568ed74a51ba0948cf5559258 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Thu, 2 Jan 2020 14:32:10 -0500 Subject: Service status, updating readme files --- commands/poweroff.js | 1 + 1 file changed, 1 insertion(+) (limited to 'commands') 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); -- cgit v1.2.3