Browse Source
[commands] Hint hybrid commands in GroupCog's description
pull/9182/head
Leonardo
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
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 |
|
|
|