chocolatey-community / chocobot-gitter

Hubot for Gitter - Chocobot setup
7 stars 10 forks source link

Add chocobot to #chocolatey on FreeNode #2

Closed ferventcoder closed 9 years ago

ferventcoder commented 9 years ago

https://github.com/nandub/hubot-irc - freenode #chocolatey IRC nick (chocobot)

gep13 commented 9 years ago

@ferventcoder okay, I am going to hold my hands up and say that I have never used IRC before. Is there something that I need to do in order to create the IRC end of this plugin? Or can I just set up all those variables, and things will just start working?

ferventcoder commented 9 years ago

Here are the variables you will need:

heroku config:add HUBOT_IRC_SERVER="chat.freenode.net"
heroku config:add HUBOT_IRC_USESSL="true"
heroku config:add HUBOT_IRC_PORT=6697
heroku config:add HUBOT_IRC_ROOMS="#chocolatey"
heroku config:add HUBOT_IRC_NICK="chocobot"
heroku config:add HUBOT_IRC_UNFLOOD="true"
heroku config:add HUBOT_IRC_SERVER_FAKE_SSL="true"
heroku config:add HUBOT_IRC_PRIVATE="true"

I'll probably want to set up a nickserv account and get you those details privately.

gep13 commented 9 years ago

@ferventcoder I have added all of the above configuration variables, so chocobot should now have everything it needs. I just need to add the extension now.

gep13 commented 9 years ago

@ferventcoder let me know how you get on with the IRC side of things, and whether this issue can be closed.

ferventcoder commented 9 years ago

So we have everything working except chocobot won't join the room for some odd reason. Can you turn off HUBOT_IRC_PRIVATE for now?

ferventcoder commented 9 years ago

And by turn off you need to set it to null, false will have the same effect (per the documentation of set it to anything).

gep13 commented 9 years ago

Done, deploying now

ferventcoder commented 9 years ago

Let's rename to choco-bot for IRC only. Leave the private thing unset.

ferventcoder commented 9 years ago

still not quite right.

ferventcoder commented 9 years ago

Looks like we didn't actually join the network (based on that someone elses bot with same name).

gep13 commented 9 years ago

:crying_cat_face: let me know if you have any other things you want me to try.

ferventcoder commented 9 years ago

Closed via https://github.com/chocolatey/chocobot-gitter/commit/e891ed1862768f23ce2e903cbcebf229b7413744 and https://github.com/chocolatey/chocobot-gitter/commit/30f0d1cc57fe83d5491feadb66f458f1139fb04e

ferventcoder commented 9 years ago

I've also set the HUBOT_ADAPTER variable to "gitter2" on the gitter heroku, so no worries on update.

gep13 commented 9 years ago

Noice! :+1: