Browse Source

[commands] Add missing decorator signs

pull/8378/head
Puncher 3 years ago
committed by GitHub
parent
commit
45f32a0ff3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      docs/ext/commands/api.rst

18
docs/ext/commands/api.rst

@ -18,7 +18,7 @@ Bot
.. autoclass:: discord.ext.commands.Bot
:members:
:inherited-members:
:exclude-members: after_invoke, before_invoke, check, check_once, command, event, group, listen
:exclude-members: after_invoke, before_invoke, check, check_once, command, event, group, hybrid_command, hybrid_group, listen
.. automethod:: Bot.after_invoke()
:decorator:
@ -41,6 +41,12 @@ Bot
.. automethod:: Bot.group(*args, **kwargs)
:decorator:
.. automethod:: Bot.hybrid_command(name=..., with_app_command=True, *args, **kwargs)
:decorator:
.. automethod:: Bot.hybrid_group(name=..., with_app_command=True, *args, **kwargs)
:decorator:
.. automethod:: Bot.listen(name=None)
:decorator:
@ -188,11 +194,14 @@ HybridCommand
.. autoclass:: discord.ext.commands.HybridCommand
:members:
:special-members: __call__
:exclude-members: after_invoke, before_invoke, error
:exclude-members: after_invoke, autocomplete, before_invoke, error
.. automethod:: HybridCommand.after_invoke()
:decorator:
.. automethod:: HybridCommand.autocomplete(name)
:decorator:
.. automethod:: HybridCommand.before_invoke()
:decorator:
@ -207,11 +216,14 @@ HybridGroup
.. autoclass:: discord.ext.commands.HybridGroup
:members:
:inherited-members:
:exclude-members: after_invoke, before_invoke, command, error, group
:exclude-members: after_invoke, autocomplete, before_invoke, command, error, group
.. automethod:: HybridGroup.after_invoke()
:decorator:
.. automethod:: HybridGroup.autocomplete(name)
:decorator:
.. automethod:: HybridGroup.before_invoke()
:decorator:

Loading…
Cancel
Save