mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 00:25:14 +00:00
Add documentation for hybrid commands
This commit is contained in:
@ -11,6 +11,7 @@ The gist:
|
||||
|
||||
- Each cog is a Python class that subclasses :class:`.commands.Cog`.
|
||||
- Every command is marked with the :func:`.commands.command` decorator.
|
||||
- Every hybrid command is marked with the :func:`.commands.hybrid_command` decorator.
|
||||
- Every listener is marked with the :meth:`.commands.Cog.listener` decorator.
|
||||
- Cogs are then registered with the :meth:`.Bot.add_cog` call.
|
||||
- Cogs are subsequently removed with the :meth:`.Bot.remove_cog` call.
|
||||
|
Reference in New Issue
Block a user