Skip to content

how to wait for and grab chat message #315

Discussion options

You must be logged in to vote

Add a *MessageCreateEvent handler as usual. This is demonstrated in the simple example.

If you want to wait for a specific message from the user, you could use ChanFor and add a new handler on demand, or you can use a single handler and an internal registry of waiting users.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kingultron99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants