From 368b8d2364b2a7b466123bb897fb7abf363c4528 Mon Sep 17 00:00:00 2001 From: Christer Date: Sun, 5 Apr 2020 01:20:52 +0300 Subject: [PATCH] Change bot status when maintenance command is initialized --- client/commands/maintenance.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/commands/maintenance.js b/client/commands/maintenance.js index 5bb7f1b..0c4b16f 100644 --- a/client/commands/maintenance.js +++ b/client/commands/maintenance.js @@ -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;