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