fixing style + an error

This commit is contained in:
amber 2020-04-24 20:06:17 +01:00
parent 9ab8731f90
commit e73301f87d
No known key found for this signature in database
GPG key ID: 3D664321E8507177
6 changed files with 33 additions and 33 deletions

View file

@ -1,24 +1,24 @@
exports.conf = {
enabled: true,
guildOnly: false,
aliases: [],
permLevel: 'Developer',
requiredPerms: [],
cooldown: 2000
enabled: true,
guildOnly: false,
aliases: [],
permLevel: 'Developer',
requiredPerms: [],
cooldown: 2000
}
exports.help = {
name: 'restart',
category: 'Developer',
description: 'Restarts the bot.',
usage: 'restart',
parameters: ''
name: 'restart',
category: 'Developer',
description: 'Restarts the bot.',
usage: 'restart',
parameters: ''
}
exports.run = async (client, message) => {// eslint-disable-line no-unused-vars
exports.run = async (client, message) => { // eslint-disable-line no-unused-vars
// This actually shuts down the bot, you'll need to use something like pm2 to get it to restart
await message.channel.send("<:reboot:467216876938985482> Restarting...");
await message.channel.send('<:reboot:467216876938985482> Restarting...')
/*
client.commands.forEach( async cmd => {
@ -26,5 +26,5 @@ exports.run = async (client, message) => {// eslint-disable-line no-unused-vars
});
*/
process.exit(1);
};
process.exit(1)
}