1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-12 16:59:50 +00:00

Fix typo in context menu error message

This commit is contained in:
Snaptraks 2022-05-17 16:41:29 -04:00 committed by GitHub
parent 38ba3b8d23
commit 30c7a2179f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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'
)