proton-io
Version:
a simple command handler for discord.js v12
18 lines (16 loc) • 497 B
JavaScript
// |||||||||||||||||||||||
// Restart Command
// Proton-io Copyright
// |||||||||||||||||||||||
const restart = require(`${process.cwd()}/node_modules/proton-io/Other/restart`)
module.exports = {
name: "restart",
aliases: ["restart"],
description: "restart komutu",
usage: "restart",
ownerOnly: true,
run: async (message,args,client) => {
message.channel.send("Bot yeniden başlatılıyor..").then(() => {
restart();
})
}}