diff options
| -rw-r--r-- | commands/poweroff.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/commands/poweroff.js b/commands/poweroff.js new file mode 100644 index 0000000..480ce0a --- /dev/null +++ b/commands/poweroff.js @@ -0,0 +1,23 @@ +exports.run = (bot, msg) => { + if (msg.author.id !== ( + "242775871059001344", "247221105515823104" + )); + msg.reply('Nope! You need the person who created this bot to use this command.') + else { + msg.reply(":warning: Pokebot is now powering off!") + console.log('Pokebot is now powering off...') + process.exit(0) + } + }; + + exports.conf = { + aliases: [], + guildOnly: true, + }; + + exports.help = { + name: 'poweroff', + description: 'Powers off the bot.', + category: 'Owners Only', + }; +
\ No newline at end of file |
