You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep in mind that listener middleware fires for every listener type, not just ones from robot.hear and robot.respond. `robot.
Those aren't "commands" per se, so you probably only want to reply on text messages. You can check for the presence of context.response.message.text or if context.response.message instanceof TextMessage.
The text was updated successfully, but these errors were encountered:
Keep in mind that listener middleware fires for every listener type, not just ones from
robot.hear
androbot.respond
. `robot.Those aren't "commands" per se, so you probably only want to reply on text messages. You can check for the presence of
context.response.message.text
or ifcontext.response.message instanceof TextMessage
.The text was updated successfully, but these errors were encountered: