Bot will now leave voice on update

This commit is contained in:
Histmy 2021-05-08 16:44:47 +02:00
parent 39e87f3f27
commit e7c6fd6f10

View File

@ -19,7 +19,8 @@ module.exports = {
mes.channel.send("nato nemas prava kokote"); mes.channel.send("nato nemas prava kokote");
break; break;
} }
mes.channel.send("👋") [...mes.client.voice?.connections.values()].forEach(con => con.disconnect());
mes.react("👋")
.then(() => process.exit()); .then(() => process.exit());
break; break;