-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make compatible http-post-say script with hubot-hangups adapter? #27
Comments
I using this. |
Very interesting @thakyuu, one more question, Where could I get the conversationId field? Thx |
You can console.log the conversationId in the index.coffee when you send hubot a message using the adapter |
hubot/scripts/getId.coffee # Description
# Get conversationId
#
# Commands:
# please id
module.exports = (robot) ->
robot.hear /please id/i, (msg) ->
msg.send "conversationId is #{msg.message.user.options.conversationId}" |
yeah... thank you guys!!! good tricks! 👍 |
hey guys... thank you for this adapter.
I am trying to make compatible this adapter with the http-post-say core script with no luck....
It seems not to get any user.name valid property and i got this exception:
my testing curl line is:
curl -v http://localhost:8080/hubot/say -d message=testtestest -d room='hubot'
Any idea?
The text was updated successfully, but these errors were encountered: