- Ege'#0001
- Katılım
- 29 Eki 2021
- Mesajlar
- 96
- Tepkime puanı
- 31
Açıklama: Botu Yeniden Başlatma Komutu
V12'dir
V12'dir
JavaScript:
//Eğer Botunuz VDS'de ise Bu Komutu Kullanmanız Tavsiye Edilmez!
const Discord = require("discord.js");
const bot = new Discord.Client();
module.exports.run = async (bot, message, args) => {
if (!["owner id yaz"].includes(message.author.id))
return message.channel.send(
"❌ Bu Komutu Sadece Yapımcılar Kullana Bilir!"
);
message.channel.sendMessage(`✅ Başarılı! Bot Yeniden Başlatılıdı..`);
message.delete(60).then(msg => {
console.log(`Bot Yeniden Başlatıdı!`);
process.exit(0);
});
};
module.exports.conf = {
enabled: true,
guildOnly: false,
aliases: ["r", "reboot", "yenile", "yenidenbaşlat"],
permLevel: 0
};
module.exports.help = {
name: "reboot",
description: "",
usage: "reboot"
};