dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.11
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
caesura has joined #cinch
<caesura> hello all
krisbulman is now known as [krisbulman]
<caesura> i'm trying to create a User object from a string containing its nick
<caesura> i don't understand why the User constructor takes two arguments
<caesura> setting the second argument to nil brings up some errors
<caesura> do you guys know what's going on?
<caesura> in the source, there's an instance variable called @bot that's being thrown around, but I'm not even sure what class @bot is
<caesura> oh it's probably Bot... i'm an idiot
<dominikh> caesura: don't use the constructor
<caesura> ok
<dominikh> caesura: are you writing a plugin, or using Cinch's APIs directly?
<caesura> how should i create user objects then?
<caesura> uh i'm writing a plugin
<dominikh> User("foo")
<caesura> that's all?
<dominikh> User is a method defined in the Helpers module that gets included
<caesura> wow, thanks
<dominikh> no problem
kith has quit [Read error: Connection reset by peer]
kith has joined #cinch
postmodern has quit [Quit: Leaving]
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
Spami has joined #cinch
caesura has quit [Quit: Leaving]
kludge` has quit [Remote host closed the connection]
kludge` has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
kludge` has quit [Ping timeout: 276 seconds]
kludge` has joined #cinch
xeviox|afk is now known as xeviox
[krisbulman] is now known as krisbulman
<frdmn> dominikh: I tried adding "bot.log(team['channel'].inspect)" before line 135, but it didnt show any output, so I tried "puts team['channel'].inspect" and that worked
<frdmn> channel log: http://hastebin.com/huworacoqa
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
<dominikh> so it's *exactly* what I told you before. you're effectively doing Channel("#somechannel somekey").send("...") which is incorrect.
xeviox is now known as xeviox|afk
Lite has left #cinch [#cinch]
postmodern has joined #cinch
txdv has quit [Read error: Operation timed out]
txdv has joined #cinch
krisbulman is now known as [krisbulman]
caesura has joined #cinch
<caesura> is there any way to have the bot produce colored or bold text?
<catepillar> yes
<Cinchy> [URL] Module: Cinch::Formatting — Documentation for cinch (2.0.11)
<catepillar> dominikh: beat me to it
<dominikh> won't happen again :P
<catepillar> lol
<caesura> :D
<caesura> thanks
<caesura> is there any way to make a certain color the default color?
<dominikh> no.
<caesura> alright
caesura has quit [Quit: Leaving]
Rennex_ has joined #cinch
tempesta1 has joined #cinch
kimoto__ has quit [Ping timeout: 245 seconds]
Rennex has quit [Ping timeout: 245 seconds]
Zackio has quit [Ping timeout: 245 seconds]
kimoto__ has joined #cinch
tempestas has quit [Ping timeout: 245 seconds]
Zackio has joined #cinch
GrandpaDragon has quit [Quit: GrandpaDragon]
postmodern has quit [Quit: Leaving]
postmodern has joined #cinch