dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.5
postmodern has joined #cinch
djbkd has quit [Remote host closed the connection]
postmodern has quit [Ping timeout: 265 seconds]
postmodern has joined #cinch
djbkd has joined #cinch
djbkd has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
djbkd has joined #cinch
irsol has quit [Remote host closed the connection]
irsol has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Ping timeout: 246 seconds]
<apeiros> is there somewhere a plugin directory/list of plugins? I'm looking for plugins which perform op actions. like: let the bot acquire op, kick/ban somebody, revoke the ban after N minutes
<apeiros> uh, `@bot.irc.send "MODE #@name -o #{user}"` in Channel#op - this is actually broken. channel names don't all start with #.
<leftylink> apeiros: nope, try running` ruby -e 'class Stuff; def initialize(x); @x = x; end; def putx; puts "#@x"; end; end; s = Stuff.new(
<leftylink> doh
<leftylink> apeiros: nope, try running `ruby -e 'class Stuff; def initialize(x); @x = x; end; def putx; puts "#@x"; end; end; s = Stuff.new(
<leftylink> fuck
<leftylink> come on
<leftylink> apeiros: nope, try running `ruby -e 'class Stuff; def initialize(x); @x = x; end; def putx; puts "#@x"; end; end; s = Stuff.new("aaaa"); s.putx'` - see how it prints "aaaa" instead of "#aaaa"
<leftylink> THERE, got it right tht time
<apeiros> leftylink: I'm not quite sure what you're trying to tell me
* apeiros off for lunch for a bit
<leftylink> apeiros: I'm saying there's no bug.
<apeiros> leftylink: your code has nothing to do with what I said
<apeiros> !foo is a valid channel name
<leftylink> apeiros: you said there's a bug in printing #@asdf
<leftylink> apeiros: but #@asdf does not print #
<apeiros> tell me how you use op in such a channel.
<apeiros> ah
<apeiros> d'oh
<apeiros> right
<apeiros> #@name instead of #{@name}
* apeiros should read code proper
<apeiros> sorry! you are right.
<leftylink> apeiros: plugins seem to start with "cinch-" by convension so I think we can look for plugins on github or rubygems this way?
<apeiros> but off for lunch now :)
<leftylink> I think that is the best we can do, no real directory other than these methods
<leftylink> ALTHOUGH I would mention I think the "#@instancevar" syntax is supposed to be deprecated, but I'd need to figure out where I read that
<leftylink> maybe because it is harder to look for...
<leftylink> hmm no, not deprecated, I ran ruby with -w and no deprecation notices printed. but I guess people argue bout whether it is good style.
djbkd has joined #cinch
djbkd has quit [Ping timeout: 264 seconds]
<apeiros> leftylink: thanks, I'll see what I find. rubygems has regex search, so that should be easy
britneywright has joined #cinch
<dominikh> just searching for "cinch-" on rubygems gets you pretty much all the plugins and no junk
<apeiros> yeah, I searched with "^cinch-"
britneyw_ has joined #cinch
britneywright has quit [Read error: Connection reset by peer]
sarkyniin has joined #cinch
<apeiros> what's the canonical way to check whether a user with a given nick exists within any channel the bot is active in?
<dominikh> Bot#channels.any? { |ch| ch.users.include?(User("apeiros")) } – off the top of my head
<apeiros> hm
<apeiros> ok, thanks :)
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
apt-get_ has joined #cinch
sarkyniin has quit [Ping timeout: 248 seconds]
apt-get__ has joined #cinch
apt-get_ has quit [Ping timeout: 255 seconds]
apt-get_ has joined #cinch
dryicebomb has joined #cinch
apt-get__ has quit [Ping timeout: 250 seconds]
Zackio is now known as CaveJohnson
britneyw_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apt-get_ has quit [Ping timeout: 264 seconds]
apt-get_ has joined #cinch
djbkd has quit [Quit: My people need me...]
ChasedSpade has quit [Ping timeout: 256 seconds]
waxjar has quit [Ping timeout: 256 seconds]
apt-get_ has quit [Remote host closed the connection]
waxjar has joined #cinch
ChasedSpade has joined #cinch
dryicebomb has quit []
postmodern has joined #cinch
Azure has quit [Quit: My MBP went to sleep.]
Azure has joined #cinch
Azure has quit [Excess Flood]
Azure has joined #cinch
djbkd has joined #cinch
Azure has quit [Read error: Connection reset by peer]
Azure has joined #cinch
Azure has quit [Client Quit]
Azure has joined #cinch
Azure has quit [Excess Flood]
Azure has joined #cinch