From 30c7a2179f45d370d4d2591c54943267d4fd1078 Mon Sep 17 00:00:00 2001 From: Snaptraks <33529661+Snaptraks@users.noreply.github.com> Date: Tue, 17 May 2022 16:41:29 -0400 Subject: [PATCH] Fix typo in context menu error message --- 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 b528430a4..b4bea6333 100644 --- a/discord/app_commands/commands.py +++ b/discord/app_commands/commands.py @@ -426,7 +426,7 @@ def _get_context_menu_parameter(func: ContextMenuCallback) -> Tuple[str, Any, Ap if len(params) != 2: msg = ( f'context menu callback {func.__qualname__!r} requires 2 parameters, ' - 'the first one being the annotation and the other one explicitly ' + 'the first one being the interaction and the other one explicitly ' 'annotated with either discord.Message, discord.User, discord.Member, ' 'or a typing.Union of discord.Member and discord.User' )