From 2876622f8404c380d2ce5fa353452336ad2c4306 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 19 Mar 2022 15:48:00 -0400 Subject: [PATCH] Fix typo in app command check documentation --- 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 e524379ae..d1098a923 100644 --- a/discord/app_commands/commands.py +++ b/discord/app_commands/commands.py @@ -1446,7 +1446,7 @@ def check(predicate: Check) -> Callable[[T], T]: def is_me(): def predicate(interaction: discord.Interaction) -> bool: return interaction.user.id == 85309593344815104 - return commands.check(predicate) + return app_commands.check(predicate) @tree.command() @is_me()