This repository was archived by the owner on Dec 18, 2021. It is now read-only.
How to use the check parameter in wait_for_interact? #25
Unanswered
TestAccout1
asked this question in
Q&A
Replies: 1 comment 3 replies
-
def check(ctx):
return ctx.user.id == "something"
await ddb.wait_for_interact('button_click', check=check) Like this |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want the bot to wait for a specific user to interact with the buttons by checking if the user's ID is equal to the one I want, how can I implement this using the check parameter?
Beta Was this translation helpful? Give feedback.
All reactions