Updated maintenance command

This commit is contained in:
Christer Warén 2021-09-06 21:45:13 +03:00
parent 4edfe6848c
commit 5bf4bd9a1c

View File

@ -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":