Push du programme
This commit is contained in:
17
commands/Developpeur/reboot.js
Normal file
17
commands/Developpeur/reboot.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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();
|
||||
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user