18 lines
417 B
JavaScript
18 lines
417 B
JavaScript
module.exports = {
|
|
name: 'reboot',
|
|
aliases: [],
|
|
utilisation: '{prefix}reboot',
|
|
|
|
async execute(client, message) {
|
|
|
|
const Members = client.config.admin;
|
|
|
|
if (!Members.includes(message.author.id))
|
|
return message.channel.send("Cette commande est réservé au développeur de LanBot");
|
|
await message.channel.send("Reboot en cours...");
|
|
|
|
await process.exit();
|
|
|
|
},
|
|
};
|