From aa5f6985d0e53730f08c1722c111a69c7558e64b Mon Sep 17 00:00:00 2001 From: Fabi-Chan <73954978+FabiChan99@users.noreply.github.com> Date: Fri, 2 Jun 2023 17:55:52 +0200 Subject: [PATCH] Made TempVC working for other guilds then my test guild --- src/Commands/TempVC/TempVoice.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Commands/TempVC/TempVoice.cs b/src/Commands/TempVC/TempVoice.cs index 55c23dee..1fb8c799 100644 --- a/src/Commands/TempVC/TempVoice.cs +++ b/src/Commands/TempVC/TempVoice.cs @@ -21,9 +21,7 @@ private async Task VoiceStateUpdated(object sender, VoiceStateUpdateEventArgs e) { try { - //if (e.Guild.Id != ulong.Parse(BotConfig.GetConfig()["ServerConfig"]["ServerId"])) return; - if (e.Guild.Id != 818699057878663168) return; - + if (e.Guild.Id != ulong.Parse(BotConfig.GetConfig()["ServerConfig"]["ServerId"]) | e.Guild.Id != 818699057878663168) return; var sessionresult = new List>(); var usersession = new List(); List Query = new()