How do I trigger an hubot response inside a post request? #1596
Answered
by
technicalpickles
rondigital1
asked this question in
Q&A
-
Hi all, How do I trigger a robot.respond() or a similiar action inside a robot.router.post() request? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
technicalpickles
Apr 18, 2023
Replies: 1 comment
-
You mean, you want to send a message in response to a route? You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
technicalpickles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You mean, you want to send a message in response to a route?
You can use
robot.messageRoom
described here: https://github.com/hubotio/hubot/blob/master/docs/scripting.md#messages-to-a-room-or-user . You would need to know a room to send it to.