mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 06:43:17 +00:00
15 lines
347 B
JavaScript
15 lines
347 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();
|
|
require('../index.js');
|
|
msg.channel.send('restarted!');
|
|
}
|
|
};
|