37 lines
1.1 KiB
JavaScript
37 lines
1.1 KiB
JavaScript
module.exports = {
|
|
name: 'reboot',
|
|
aliases: [],
|
|
utilisation: '{prefix}reboot',
|
|
|
|
async execute(client, message) {
|
|
|
|
// Lantium = "327193195085824001";
|
|
// Cecile = "321032586455547915";
|
|
// Antho = "304970614739828746";
|
|
// Leethium = "241299910488621066";
|
|
// Nico = "182412174138933249";
|
|
// Lumikkode = "191117029606948864";
|
|
// Second = "906122784999096350";
|
|
// Hunter = "206881400333402112";
|
|
// Manyx = "302808060617818113";
|
|
|
|
let Members = [
|
|
"327193195085824001",
|
|
"321032586455547915",
|
|
"304970614739828746",
|
|
"241299910488621066",
|
|
"182412174138933249",
|
|
"191117029606948864",
|
|
"906122784999096350",
|
|
"206881400333402112",
|
|
"302808060617818113",
|
|
]
|
|
|
|
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();
|
|
|
|
},
|
|
}; |