From 7938d45e36e7282749945c967b1f1870f6d9de85 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Tue, 9 Jul 2019 05:02:25 +0200 Subject: [PATCH] put clear message in terminal when shutdown --- commands/owner/reboot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/owner/reboot.js b/commands/owner/reboot.js index 0727ecee..71da4e54 100644 --- a/commands/owner/reboot.js +++ b/commands/owner/reboot.js @@ -15,7 +15,9 @@ class RebootCommand extends Command { } async exec(message) { + console.log('\x1b[31m\x1b[47m\x1b[5mSHUTING DOWN!!!!!\x1b[0m'); await message.channel.send('k bye thx', { files: ['https://cdn.discordapp.com/attachments/532980995767533568/553656409452183552/bad_things_happen_to_good_people.jpg', 'https://cdn.discordapp.com/attachments/532980995767533568/553310025792356362/meme.png']}); + console.log('\x1b[31m\x1b[47m\x1b[5mSHUTING DOWN!!!!!\x1b[0m'); process.exit(); }