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

13 lines
366 B
JavaScript
Raw Normal View History

2020-02-24 19:17:24 +00:00
module.exports = {
name: 'restart',
alias: 'none',
usage: '',
2020-03-13 20:31:04 +00:00
description: 'restart all shards',
2020-02-24 19:17:24 +00:00
onlyDev: true,
2020-03-13 20:31:04 +00:00
permission: 'dev',
2020-02-24 19:17:24 +00:00
category: 'util',
async execute(msg, args, client, Discord, prefix, command) {
2020-03-13 20:31:04 +00:00
client.shard.respawnAll(client.config.shardDelay, client.config.respawnDelay, client.config.spawnTimeout);
2020-02-24 19:17:24 +00:00
}
};