From 76e6d3f611d238666514e2de4a352f22b3e3892e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Thu, 6 Sep 2018 17:28:43 +0200 Subject: [PATCH] shut down the bot but dosent send the message to shut it down idk why --- commands/ded.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/commands/ded.js b/commands/ded.js index 37dd593a..b21f73e9 100644 --- a/commands/ded.js +++ b/commands/ded.js @@ -1 +1,6 @@ -process.exit(); \ No newline at end of file +exports.run = (client,message) => { + if (message.author.id == "267065637183029248") { + message.channel.send("haha yes im ded now k bye thx").catch(console.error); + process.exit(); +} +}; \ No newline at end of file