Fix typo in app command check documentation

This commit is contained in:
Rapptz 2022-03-19 15:48:00 -04:00
parent 1b70fad5ec
commit 2876622f84

View File

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