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()