1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-14 03:30:18 +00:00
musix-oss/commands/restart.js

15 lines
347 B
JavaScript
Raw Normal View History

2020-02-24 19:17:24 +00:00
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) {
2020-03-03 20:24:41 +00:00
client.destroy();
require('../index.js');
2020-02-24 19:17:24 +00:00
msg.channel.send('restarted!');
}
};