From 45f32a0ff33e40e27e3856e6dafa72b77e90de57 Mon Sep 17 00:00:00 2001 From: Puncher <65789180+Puncher1@users.noreply.github.com> Date: Mon, 22 Aug 2022 00:25:59 +0200 Subject: [PATCH] [commands] Add missing decorator signs --- docs/ext/commands/api.rst | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index 4842a5228..b8272572a 100644 --- a/docs/ext/commands/api.rst +++ b/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: