mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 02:08:25 +00:00
Fix typo in app command check documentation
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user