Browse Source

Fix typo in app command check documentation

pull/7727/head
Rapptz 3 years ago
parent
commit
2876622f84
  1. 2
      discord/app_commands/commands.py

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

Loading…
Cancel
Save