bot now also goes invisible when updating
This commit is contained in:
parent
086f1cbbf2
commit
a36a030ff0
@ -20,6 +20,8 @@ const exp: Modul = {
|
||||
if (mes.channel.id != process.env.adminChannel && mes.author.id != process.env.adminID) return "nato nemas prava kokote";
|
||||
|
||||
getVoiceConnections().forEach(con => con.disconnect());
|
||||
const client: Client = module.exports.client;
|
||||
client.user?.setStatus("invisible");
|
||||
mes.react("👋")
|
||||
.then(() => process.exit());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user