mirror of
https://github.com/musix-org/musix-oss
synced 2024-09-20 10:51:56 +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!');
|
||
|
}
|
||
|
};
|