bot now also goes invisible when updating

This commit is contained in:
Histmy 2021-11-07 15:21:37 +01:00
parent 086f1cbbf2
commit a36a030ff0

View File

@ -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());
}