mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
Fix typo in app command check documentation
This commit is contained in:
parent
1b70fad5ec
commit
2876622f84
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user