Change bot status when maintenance command is initialized

This commit is contained in:
Christer 2020-04-05 01:20:52 +03:00
parent 9adc6360df
commit 368b8d2364

View File

@ -19,6 +19,8 @@ module.exports = {
let radio = currentRadios.next();
let stoppedRadios = "";
client.user.setStatus('dnd');
while (!radio.done) {
let currentRadio = client.radio.get(radio.value);
currentRadio.guild = client.datastore.getEntry(radio.value).guild;