Way to keep track of multiple messages #549
Unanswered
CraigCaseyContreras
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to receive multiple messages within one function? For example, I am making a bot that takes in a title and description.
So right now in the msgRcv function, I have if message == "/add", then the function add() is called. Likewise for "/cancel" and "/help", each with their respective functions. So I am able to get into the add() function, as well as the others, but how would you save other messages? Do you just call msgRcv again inside the add() function?
(Not really an issue, just wanted to get some input. Maybe I just structured my code wrong)
Beta Was this translation helpful? Give feedback.
All reactions