mesidz debile

This commit is contained in:
det-fys 2023-07-27 22:25:48 +02:00 committed by GitHub
parent f216d445dd
commit 279c3df996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,8 @@ export const novejJoin = (guild: Guild, channelId: string) => new Promise<boolea
reject(e);
});
vypocitatCas(guildId);
conn.on(VoiceConnectionStatus.Disconnected, () => {
// Je možný, že bota někdo "přetáhnul" do jinýho vojsu, v tom případě připojení recyklovat nechem
entersState(conn, VoiceConnectionStatus.Ready, 5e3).catch(() => {