dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.11
CM-Punk has joined #cinch
workweezle has left #cinch [#cinch]
[krisbulman] is now known as krisbulman
krisbulman is now known as krisbulman|afk
krisbulman|afk is now known as [krisbulman|afk]
[krisbulman|afk] is now known as krisbulman
postmodern has quit [Quit: Leaving]
krisbulman has quit [Ping timeout: 252 seconds]
krisbulman has joined #cinch
krisbulman is now known as [krisbulman]
cyrusdavid has quit [Ping timeout: 245 seconds]
Spami has joined #cinch
waxjar has quit [Ping timeout: 245 seconds]
cyrusdavid has joined #cinch
waxjar has joined #cinch
xeviox|afk is now known as xeviox
xeviox is now known as xeviox|afk
Spami has quit [Quit: This computer has gone to sleep]
kludge` has quit [Ping timeout: 252 seconds]
kludge` has joined #cinch
Xeago has joined #cinch
xeviox|afk is now known as xeviox
nOgAnOo has quit [Ping timeout: 252 seconds]
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
CM-Punk has quit [Ping timeout: 265 seconds]
CM-Punk has joined #cinch
v0n has joined #cinch
<Xeago> I'm getting https://gist.github.com/Xeago/92f323eec621e9a89c95 when I am trying to connect to a channel
<Cinchy> [gist] gist:92f323eec621e9a89c95 (at gist.github.com, Xeago on 2014-01-29 14:22)
<Xeago> what is goin on?
<Xeago> "SSL_read: decryption failed or bad record mac (OpenSSL::SSL::SSLError)"
<Xeago> there are 131 users in the channel
<Xeago> any other channel works
<Xeago> or any other information I need to provide?
<Xeago> this comes after receiving the channel's userlist
<Xeago> and happens without any plugins running
Xeago has quit [Remote host closed the connection]
Xeago has joined #cinch
tiaburn has joined #cinch
<tiaburn> Hello!
<tiaburn> I'd like to have some support on cinch bot... Can someone help me?
<tiaburn> How can I join channel on connection? Or send a message to channel via on :connect event?
<catepillar> in your configure block for the bot, add a .channels = ["#array","#of","#channels"]
<catepillar> sending a message on connect is a bit trickier, cause you want your bot to be in the channel first
<catepillar> i always did that by using the :join event
<catepillar> and seeing if the m.user.nick == bot.nick
<catepillar> there is probably a better way though
<Xeago> catepillar: would you know anything about my ssl error (about an hour ago)?
waxjar is now known as shadesaaaa
<catepillar> unfortunately not
<catepillar> i did take a look though, if that counts for anything
v0n has quit [Ping timeout: 264 seconds]
shadesaaaa is now known as waxjar
v0n has joined #cinch
<tiaburn> OK, thanks!
tiaburn has quit [Quit: leaving]
<Xeago> thanks catepillar!
v0n has quit [Ping timeout: 252 seconds]
v0n has joined #cinch
txdv has quit [Read error: Connection reset by peer]
txdv has joined #cinch
<onewheelskyward> Xeago I get that in my datamapper app when I gracefully restart unicorn.
<onewheelskyward> It occurs only once and then everything is fine. Does it happen to you on every join to that channel?
<onewheelskyward> Which version of openssl did you compile ruby against?
xeviox is now known as xeviox|afk
Xeago has quit [Remote host closed the connection]
postmodern has joined #cinch
iAdam1n has joined #cinch
<iAdam1n> Hey, how do I start a ruby written IRC bot?
<iAdam1n> It's using cinch
<catepillar> ruby filename.rb
<iAdam1n> hm, I did that, does it output any text or just go to a new prompt?
<iAdam1n> It is not showing up on the configured IRC network
<catepillar> it should start printing tons of things out
<iAdam1n> it didnt
<catepillar> post up your file on pastebin somewhere
<catepillar> are you getting any output at all?
<dominikh> my bet's on a forgotten call to Bot#start
<iAdam1n> I get a new line with the prompt, nothing else
<catepillar> your server is wrong
<catepillar> irc.freenode.net i believe
<dominikh> that's not the main issue though. the new thread on line 148 is
<dominikh> which means that the main thread is free to terminate, thus terminating the ruby process
<catepillar> oh yea, need to wait for the thread to join
<dominikh> or just not have a thread in the first place
<iAdam1n> yeah I do have .net, forgot to change it in the gist
<iAdam1n> How long should it take to join with that code?
<catepillar> the thread should never join
<iAdam1n> so remove line 148 and 150?
<catepillar> that's one solution
<iAdam1n> thanks so much
iAdam1n has left #cinch ["Textual IRC Client: www.textualapp.com"]
<catepillar> i thought ruby waited on threads to finish executing before closing the main thread
iAdam1n has joined #cinch
<catepillar> but looking through some of my other code, i realized i always had join statements
<iAdam1n> I forgot one thing, this is on a VPS. How can I make it run but close Terminal which it runs in?
<catepillar> i would use screen before I close the terminal
<catepillar> that way I can monitor the output of cinch
<dominikh> I would use tmux because it's superior to screen. but of course for a real bot I'd use some form of supervision (runit, systemd, whatever it is you use)
<iAdam1n> I don't mind about monitoring it, just want it to run. How can I do that?
<dominikh> still screen/tmux, or nohup
<iAdam1n> So I have to keep something open with ssh to my server open? I want it to still run when I turn my Mac off, it's on a VPS
<dominikh> look up screen, tmux and nohup.
<iAdam1n> I know, but if I turn my mac off, surely the bot will quit, right?
<dominikh> you don't know, so look up what screen does.
<dominikh> GNU screen specifically.
<iAdam1n> so that way, I can turn my Mac off, but it will stay online if I run it on my VPS? I only have ssh access and do not want to keep ssh open all the time.
<dominikh> yes…
<iAdam1n> Also, can I message nickserv to identify the bot from the command line
<iAdam1n> dominikh: how would I use screen to keep it working? I have it, but cannot work out how to make it stay connected.
<iAdam1n> It's running and I have screen but not sure how to make it work
krisbulman is now known as [krisbulman]
iAdam1n has left #cinch ["Textual IRC Client: www.textualapp.com"]
iAdam1n has joined #cinch
<iAdam1n> I have got the bot working but can I message nickserv from the shell script?
iAdam1n has left #cinch ["Textual IRC Client: www.textualapp.com"]
<onewheelskyward> What kind of container can I run cinch in to allow automated capistrano restarts?
nOgAnOo has joined #cinch
CM-Punk has quit [Quit: You're a LOSER, and your dad probably beat you when you were a kid... which was probably two weeks ago]
v0n has quit [Ping timeout: 248 seconds]