From 659d6b61237844024a3a56d9d84e72b6990fd9cf Mon Sep 17 00:00:00 2001 From: Mikey <8661717+sgtlaggy@users.noreply.github.com> Date: Tue, 16 Aug 2022 17:10:14 -0700 Subject: [PATCH] Make app_commands.describe examples consistent --- discord/app_commands/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/app_commands/commands.py b/discord/app_commands/commands.py index 3d5544564..8aa87749e 100644 --- a/discord/app_commands/commands.py +++ b/discord/app_commands/commands.py @@ -2089,7 +2089,7 @@ def describe(**parameters: Union[str, locale_str]) -> Callable[[T], T]: .. code-block:: python3 - @app_commands.command() + @app_commands.command(description='Bans a member') @app_commands.describe(member='the member to ban') async def ban(interaction: discord.Interaction, member: discord.Member): await interaction.response.send_message(f'Banned {member}')