diff options
| author | Alee <alee14498@gmail.com> | 2018-02-25 10:40:46 -0500 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-02-25 10:40:46 -0500 |
| commit | 94eeeec5b7d4d29ae9d372fc1b86ce5351112548 (patch) | |
| tree | 48babe0e8505603c316a56095403f136634b83f9 /src/commands/poweroff.js | |
| parent | a09d8da7789abf864504ec3c3a0d8616206afe0f (diff) | |
| download | AleeBot-94eeeec5b7d4d29ae9d372fc1b86ce5351112548.tar.gz AleeBot-94eeeec5b7d4d29ae9d372fc1b86ce5351112548.tar.bz2 AleeBot-94eeeec5b7d4d29ae9d372fc1b86ce5351112548.zip | |
Added poweroff
Diffstat (limited to 'src/commands/poweroff.js')
| -rw-r--r-- | src/commands/poweroff.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/commands/poweroff.js b/src/commands/poweroff.js new file mode 100644 index 0000000..8016726 --- /dev/null +++ b/src/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 |
