mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 19:43:18 +00:00
Updated maintenance command
This commit is contained in:
parent
4edfe6848c
commit
5bf4bd9a1c
@ -97,17 +97,13 @@ module.exports = {
|
||||
break;
|
||||
case "4":
|
||||
client.user.setStatus('idle');
|
||||
setTimeout(function () {
|
||||
client.funcs.saveRadios(client);
|
||||
}, 5000);
|
||||
client.funcs.saveRadios(client);
|
||||
client.user.setStatus('online');
|
||||
break;
|
||||
case "5":
|
||||
client.user.setStatus('idle');
|
||||
let guilds = await client.guilds.fetch();
|
||||
setTimeout(function () {
|
||||
client.funcs.restoreRadios(client, guilds);
|
||||
}, 5000);
|
||||
client.funcs.restoreRadios(client, guilds);
|
||||
client.user.setStatus('online');
|
||||
break;
|
||||
case "6":
|
||||
|
Loading…
Reference in New Issue
Block a user