From 382d4691538331e3e83ac05553ec7830f9477a82 Mon Sep 17 00:00:00 2001 From: Madpeter <57852827+Madpeterz@users.noreply.github.com> Date: Fri, 1 Dec 2023 08:42:01 +0000 Subject: [PATCH] Update DiscordService.cs --- SecondBotEvents/Services/DiscordService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SecondBotEvents/Services/DiscordService.cs b/SecondBotEvents/Services/DiscordService.cs index f09027e..37cb9ee 100644 --- a/SecondBotEvents/Services/DiscordService.cs +++ b/SecondBotEvents/Services/DiscordService.cs @@ -601,9 +601,9 @@ namespace SecondBotEvents.Services continue; } WantedCategoryChannels.Remove(category.Name); - if (ChannelMap.ContainsKey(category.Name) == false) + if (CategoryMap.ContainsKey(category.Name) == false) { - ChannelMap[category.Name] = category.Id; + CategoryMap[category.Name] = category.Id; return; } CategoryMap.Add(category.Name, category.Id);