diff options
| author | Alee <alee14498@gmail.com> | 2018-03-25 09:36:32 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-03-25 09:36:32 -0400 |
| commit | 9f39777642b3f44386df711afeab6490dc508007 (patch) | |
| tree | 90789522e4920934ff0012129525c18c6768953b /commands/poweroff.js | |
| parent | 07fe0f9f68d078881c44ddeaadbf09212f089727 (diff) | |
| download | AleeBot-9f39777642b3f44386df711afeab6490dc508007.tar.gz AleeBot-9f39777642b3f44386df711afeab6490dc508007.tar.bz2 AleeBot-9f39777642b3f44386df711afeab6490dc508007.zip | |
Moved all source files
Diffstat (limited to 'commands/poweroff.js')
| -rw-r--r-- | commands/poweroff.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/commands/poweroff.js b/commands/poweroff.js new file mode 100644 index 0000000..8016726 --- /dev/null +++ b/commands/poweroff.js @@ -0,0 +1,17 @@ +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 message.reply(':warning: AleeBot will now exit!'); + process.exit(0); + }; + + exports.conf = { + aliases: ['reboot'], + guildOnly: false, + }; + exports.help = { + name: 'poweroff', + description: 'Turns off AleeBot.', + usage: 'poweroff', + category: '- Owners Only', + }; +
\ No newline at end of file |
