From ebf6f16fcb5f7272f169434182ef0c55e2a794f3 Mon Sep 17 00:00:00 2001 From: JustaSqu1d Date: Mon, 12 Aug 2024 15:13:01 -0700 Subject: [PATCH] docs: fix `application_commands.rst` --- docs/api/application_commands.rst | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/docs/api/application_commands.rst b/docs/api/application_commands.rst index 2fe39f0760..f57eb224a4 100644 --- a/docs/api/application_commands.rst +++ b/docs/api/application_commands.rst @@ -38,6 +38,9 @@ Shortcut Decorators .. autofunction:: discord.commands.message_command :decorator: +.. autofunction:: discord.commands.option + :decorator: + Objects ~~~~~~~ @@ -61,17 +64,6 @@ Objects .. autoclass:: MessageCommand :members: -Options -------- - -Shortcut Decorators -~~~~~~~~~~~~~~~~~~~ -.. autofunction:: discord.commands.option - :decorator: - -Objects -~~~~~~~ - .. attributetable:: Option .. autoclass:: Option :members: