mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 02:33:18 +00:00
Change bot status when maintenance command is initialized
This commit is contained in:
parent
9adc6360df
commit
368b8d2364
@ -19,6 +19,8 @@ module.exports = {
|
|||||||
let radio = currentRadios.next();
|
let radio = currentRadios.next();
|
||||||
let stoppedRadios = "";
|
let stoppedRadios = "";
|
||||||
|
|
||||||
|
client.user.setStatus('dnd');
|
||||||
|
|
||||||
while (!radio.done) {
|
while (!radio.done) {
|
||||||
let currentRadio = client.radio.get(radio.value);
|
let currentRadio = client.radio.get(radio.value);
|
||||||
currentRadio.guild = client.datastore.getEntry(radio.value).guild;
|
currentRadio.guild = client.datastore.getEntry(radio.value).guild;
|
||||||
|
Loading…
Reference in New Issue
Block a user