Open mvaneijgen opened 9 years ago
Hubot has excellent documentation on how to get up and running, if you need it: https://hubot.github.com/docs/
It includes a link to the Slack adapter, and it has instructions in its README: https://github.com/slackhq/hubot-slack
Once you've done that, to get hubot-poker added, just add this to the package.json dependencies
section:
"hubot-poker": "git://github.com/chrismo/hubot-poker.git"
Done that and hubot runs fine, but doesn't reopened to poker help
or hutor poker help
Hey, made a sceencast of my setup, hope it helps. http://youtu.be/F1mR-o9y2HU
do any of the poker commands show if you issue a general help
command?
the screencast is telling me: "This video is a duplicate of a previously uploaded video." :/
No poker does not show in the help commands. and sorry here is the right one http://youtu.be/F1mR-o9y2HU
OH! I may have overlooked mentioning an ENV to put the bot into a room. ... Ok, I think this is a bug. The original idea of the code was to only restrict the rooms the bot serves poker in based on the existence of the TOKEN_POKER_ROOMS
ENV var. But I think in practice, if that ENV isn't set, then it's not in ANY room. So, try launching the hubot instance with TOKEN_POKER_ROOMS=slack-channel
You can do multiple rooms with a comma delimited list, and you don't need the #
prefix. It will also work in private groups.
so I should add heroku config:add TOKEN_POKER_ROOMS=games
?
My Hubot now has to TOKEN_POKER_ROOMS
of games
, but it still is not working. Anything else I should add?
Do you have a slack channel called games
?
new: screencast: https://www.youtube.com/watch?v=No5XZotnyeI&feature=youtu.be Yes that where my Hubot is invited to and that channel is called #games
(sorry this isn't working well - you're probably the first ever to try it out!! Lucky you, eh? Thanks for your patience and feedback - it's appreciated)
It would appear from the video the scripts aren't loading and/or it's just not activating in your room. There might be some logging output, if you can try to look for that. Also, we haven't tried this on Heroku at LivingSocial, we host it from one of our own boxes, so there could be something dumb I'm doing that only works internally, though I can't think of anything off-hand.
Unfortunately, I can't give any more time to this now, but if you're able to troubleshoot this in your Heroku install, post anything you find here, and I'll come back to this later.
Im fairly new to Slack and was thinking around with Hubot,installed a few script now, but im really lost how to install this. Is there a step by step guide?