mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Permissions] Fix typo in cog_add event
This commit is contained in:
parent
b0ab6bd7e2
commit
22cf8e940c
@ -439,7 +439,7 @@ class Permissions(commands.Cog):
|
|||||||
"""
|
"""
|
||||||
self._load_rules_for(
|
self._load_rules_for(
|
||||||
cog_or_command=cog,
|
cog_or_command=cog,
|
||||||
rule_dict=await self.config.custom(COMMAND, cog.__class__.__name__).all(),
|
rule_dict=await self.config.custom(COG, cog.__class__.__name__).all(),
|
||||||
)
|
)
|
||||||
|
|
||||||
async def command_added(self, command: commands.Command) -> None:
|
async def command_added(self, command: commands.Command) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user