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 .. autoclass:: discord.ext.commands.Bot
:members: :members:
:inherited-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() .. automethod:: Bot.after_invoke()
:decorator: :decorator:
@ -41,6 +41,12 @@ Bot
.. automethod:: Bot.group(*args, **kwargs) .. automethod:: Bot.group(*args, **kwargs)
:decorator: :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) .. automethod:: Bot.listen(name=None)
:decorator: :decorator:
@ -188,11 +194,14 @@ HybridCommand
.. autoclass:: discord.ext.commands.HybridCommand .. autoclass:: discord.ext.commands.HybridCommand
:members: :members:
:special-members: __call__ :special-members: __call__
:exclude-members: after_invoke, before_invoke, error :exclude-members: after_invoke, autocomplete, before_invoke, error
.. automethod:: HybridCommand.after_invoke() .. automethod:: HybridCommand.after_invoke()
:decorator: :decorator:
.. automethod:: HybridCommand.autocomplete(name)
:decorator:
.. automethod:: HybridCommand.before_invoke() .. automethod:: HybridCommand.before_invoke()
:decorator: :decorator:
@ -207,11 +216,14 @@ HybridGroup
.. autoclass:: discord.ext.commands.HybridGroup .. autoclass:: discord.ext.commands.HybridGroup
:members: :members:
:inherited-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() .. automethod:: HybridGroup.after_invoke()
:decorator: :decorator:
.. automethod:: HybridGroup.autocomplete(name)
:decorator:
.. automethod:: HybridGroup.before_invoke() .. automethod:: HybridGroup.before_invoke()
:decorator: :decorator:

Loading…
Cancel
Save