diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/poweroff.js | 1 |
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); |
