mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Core] fix error in [p]ignore list (#5973)
This commit is contained in:
parent
2168585ee1
commit
c390b89bd2
@ -5357,7 +5357,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
||||
category_channels.append(channel.category)
|
||||
if await self.bot._ignored_cache.get_ignored_channel(channel, check_category=False):
|
||||
channels.append(channel)
|
||||
for channel in ctx.guild.forum_channels:
|
||||
for channel in ctx.guild.forums:
|
||||
if channel.category and channel.category not in category_channels:
|
||||
if await self.bot._ignored_cache.get_ignored_channel(channel.category):
|
||||
category_channels.append(channel.category)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user