1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 18:03:17 +00:00

Update restart.js

This commit is contained in:
MatteZ02 2020-07-10 16:33:45 +03:00
parent 6b8d65c4cb
commit 086c51f367

View File

@ -7,9 +7,9 @@ module.exports = {
permission: 'dev',
category: 'util',
async execute(msg, args, client, Discord, command) {
client.funcs.saveDB(client);
client.shard.broadcastEval("this.funcs.saveDB(this);");
msg.channel.send(client.messages.dbSaved);
msg.channel.send(client.messages.restart);
client.shard.respawnAll(client.config.shardDelay, client.config.respawnDelay, client.config.spawnTimeout);
}
};
};