mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
[commands] Rename Cog.app_command_group to Cog.app_command
This allows it to be consistent with hybrid commands
This commit is contained in:
parent
619bc50e5d
commit
e8a2eeea06
@ -361,7 +361,7 @@ class Cog(metaclass=CogMeta):
|
||||
yield from command.walk_commands()
|
||||
|
||||
@property
|
||||
def app_command_group(self) -> Optional[app_commands.Group]:
|
||||
def app_command(self) -> Optional[app_commands.Group]:
|
||||
"""Optional[:class:`discord.app_commands.Group`]: Returns the associated group with this cog.
|
||||
|
||||
This is only available if inheriting from :class:`GroupCog`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user