diff --git a/commands/restart.js b/commands/restart.js new file mode 100644 index 00000000..7539e089 --- /dev/null +++ b/commands/restart.js @@ -0,0 +1,15 @@ +module.exports = { + name: 'restart', + alias: 'none', + usage: '', + description: 'Restart the bot', + onlyDev: true, + permission: 'none', + category: 'util', + async execute(msg, args, client, Discord, prefix, command) { + client.destroy() + const MusicClient = require('../struct/client.js'); + const client = new MusicClient({}); + msg.channel.send('restarted!'); + } +};