Browse Source

[commands] Hint hybrid commands in GroupCog's description

pull/9182/head
Leonardo 2 years ago
committed by GitHub
parent
commit
f4c0a051ab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      discord/ext/commands/cog.py

3
discord/ext/commands/cog.py

@ -752,6 +752,9 @@ class GroupCog(Cog):
and :func:`~discord.app_commands.default_permissions` will apply to the group if used on top of the
cog.
Hybrid commands will also be added to the Group, giving the ability categorize slash commands into
groups, while keeping the prefix-style commmand as a root-level command.
For example:
.. code-block:: python3

Loading…
Cancel
Save