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

Update restart.js

This commit is contained in:
Matte 2020-06-09 21:29:28 +03:00 committed by GitHub
parent 635d7953b2
commit ebca4c0706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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