mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 08:35:53 +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:
@ -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`.
|
||||
|
Reference in New Issue
Block a user