Update DiscordService.cs
This commit is contained in:
parent
5adb4b08dc
commit
382d469153
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue