using shards to see if it fixes connection issues

This commit is contained in:
2023-02-15 21:47:26 -03:00
parent 9be2ffc54a
commit 00022c1cb9
5 changed files with 15 additions and 19 deletions

View File

@@ -25,7 +25,8 @@ namespace Kasbot.Services
IAudioClient audioClient = await channel.ConnectAsync();
audioClient.Disconnected += (ex) => Stop(Context.Guild.Id);
audioClient.StreamDestroyed += (ex) => Stop(Context.Guild.Id);
conn.AudioClient = audioClient;
if (Clients.ContainsKey(Context.Guild.Id))