Add documentation for hybrid commands

This commit is contained in:
I. Ahmad authored and GitHub committed 2022-07-25 21:19:42 -04:00
1 parent 3ee18e4c5d
commit a5410e6135
6 files changed
+74

No files matched your search

+1
View File
@@ -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.