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