mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Fixes an issue with allowed_by_whitelist_blacklist (#3017)
This commit is contained in:
parent
101e977939
commit
ee162f6f9e
1
changelog.d/3017.misc.rst
Normal file
1
changelog.d/3017.misc.rst
Normal file
@ -0,0 +1 @@
|
||||
fixes a missing await from #2976
|
||||
@ -269,7 +269,7 @@ class RedBase(commands.GroupMixin, commands.bot.BotBase, RPCMixin): # pylint: d
|
||||
if ids.isdisjoint(guild_whitelist):
|
||||
return False
|
||||
else:
|
||||
guild_blacklist = self._config.guild(guild).blacklist()
|
||||
guild_blacklist = await self._config.guild(guild).blacklist()
|
||||
if not ids.isdisjoint(guild_blacklist):
|
||||
return False
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user