dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.11
v0n has joined #cinch
krisbulman is now known as krisbulman|afk
v0n has quit [Ping timeout: 245 seconds]
krisbulman|afk is now known as krisbulman
somasonic has quit [Quit: fin.]
somasonic has joined #cinch
v0n has joined #cinch
CM-Punk has joined #cinch
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
<CM-Punk>
Okay, this is my first attempt at coding a json cinch plugin from scratch and it's not working, can anyone tell me why?: http://pastebin.com/0C8001ER
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
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]
CM-Punk has joined #cinch
CM-Punk is now known as CMPunk
CMPunk is now known as CM-Punk
v0n has quit [Ping timeout: 252 seconds]
<ayonix>
CM-Punk: where is urlload coming from?
<CM-Punk>
ayonix I thought it would load the url....I was looking at some other plugins as examples and I was tired...
<CM-Punk>
What can I do to make it function?
<ayonix>
check your code :) to me it looks like urlload is not even found
<CM-Punk>
Well even after removing that, it doesn't work ayonix
<Cinchy>
[URL] Ruby Net::HTTP::Get and JSON responses - Stack Overflow
<ayonix>
the urlload method you used earlier might have done something like that in the original code
<CM-Punk>
Oh okay, I'll so some more work on it, see if I can get it working
CM-Punk has left #cinch ["You're a LOSER, and your dad probably beat you when you were a kid... which was probably two weeks ago"]
kludge` has quit [Ping timeout: 245 seconds]
kludge` has joined #cinch
CM-Punk has joined #cinch
xeviox|afk is now known as xeviox
postmodern has quit [Quit: Leaving]
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
v0n has joined #cinch
v0n has quit [Read error: Operation timed out]
v0n has joined #cinch
UberDragon has joined #cinch
xeviox is now known as xeviox|afk
Spami has joined #cinch
Spami has quit [Changing host]
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
thews has quit [Changing host]
thews has joined #cinch
frankbutt has joined #cinch
frankbutt has left #cinch [#cinch]
krisbulman is now known as [krisbulman]
v0n has quit [Read error: Operation timed out]
v0n has joined #cinch
v0n has quit [Client Quit]
v0n 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]
CM-Punk has joined #cinch
CM-Punk has quit [Client Quit]
CM-Punk has joined #cinch
CM-Punk has quit [Client Quit]
CM-Punk has joined #cinch
workweezle has joined #cinch
postmodern has joined #cinch
<workweezle>
Howdy folks.
CM-Punk has quit [Ping timeout: 265 seconds]
CM-Punk has joined #cinch
<workweezle>
I've got some code that should react differently if a user is in the same channel. Code is at https://gist.github.com/ncolton/6724f2afa9cfd9d1beb1 and I'm wondering why it isn't seeing the user as being in the channel.
<Cinchy>
[gist] ignore youtube if bot present (at gist.github.com, ncolton on 2014-01-28 23:20)
<workweezle>
... although now that I'm looking at the WEB version of the docs, I think I may understand where I went wrong.
v0n has quit [Ping timeout: 260 seconds]
<workweezle>
m is a MEssage. m.channel.users is a dict that I thought was username for the key, but instead, the keys are instances of Cinch::User ...
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]
kith has quit [Read error: Connection reset by peer]