Skip to content
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

where to define "robot.messageRoom"? #294

Open
plutoid opened this issue May 16, 2017 · 0 comments
Open

where to define "robot.messageRoom"? #294

plutoid opened this issue May 16, 2017 · 0 comments

Comments

@plutoid
Copy link

plutoid commented May 16, 2017

hi,

In README file as below, where to define it? now the issue when I send info to bot in room, no response but there is debug info on log output, any configuration I have missed?

Scripting Gotchas

robot.messageRoom syntax is as follows

robot.messageRoom("[email protected]", "message");

when I test in room, the debug info seems fine.

[Tue May 16 2017 16:48:57 GMT+0800 (CST)] DEBUG building message
[Tue May 16 2017 16:48:57 GMT+0800 (CST)] DEBUG http://25.media.tumblr.com/tumblr_ll3xwoJrxR1qb08qmo1_500.jpg
[Tue May 16 2017 16:48:57 GMT+0800 (CST)] DEBUG  OUT > <message to="[email protected]" type="chat" from="[email protected]/hubot-hipchat"><inactive xmlns="http://jabber/protocol/chatstates"/><body>http://25.media.tumblr.com/tumblr_ll3xwoJrxR1qb08qmo1_500.jpg</body></message>

update:

commet below env var solve the problem, this leave me wrong way so long time. :(

#export HUBOT_HIPCHAT_XMPP_DOMAIN="btf.hipchat.com" 

Best regards,
Hua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant