mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 11:20:19 +00:00
16 lines
418 B
JavaScript
16 lines
418 B
JavaScript
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!');
|
|
}
|
|
};
|