aboutsummaryrefslogtreecommitdiff
path: root/src/commands/poweroff.js
blob: 80167260e71f521b88ece897ccbed3953edc5b06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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',
  };