2015-03-30 18:24
dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.5
02:56
postmodern has joined #cinch
03:30
djbkd has quit [Remote host closed the connection]
03:35
postmodern has quit [Ping timeout: 265 seconds]
03:39
postmodern has joined #cinch
04:01
djbkd has joined #cinch
04:05
djbkd has quit [Ping timeout: 245 seconds]
04:40
postmodern has quit [Quit: Leaving]
04:41
djbkd has joined #cinch
05:13
irsol has quit [Remote host closed the connection]
05:13
irsol has joined #cinch
08:26
djbkd has quit [Remote host closed the connection]
08:57
djbkd has joined #cinch
09:01
djbkd has quit [Ping timeout: 246 seconds]
09:22
<
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
09:40
<
apeiros >
uh, `@bot.irc.send "MODE #@name -o #{user}"` in Channel#op - this is actually broken. channel names don't all start with #.
09:43
<
leftylink >
apeiros: nope, try running` ruby -e 'class Stuff; def initialize(x); @x = x; end; def putx; puts "#@x"; end; end; s = Stuff.new(
09:44
<
leftylink >
apeiros: nope, try running `ruby -e 'class Stuff; def initialize(x); @x = x; end; def putx; puts "#@x"; end; end; s = Stuff.new(
09:44
<
leftylink >
come on
09:44
<
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"
09:44
<
leftylink >
THERE, got it right tht time
09:45
<
apeiros >
leftylink: I'm not quite sure what you're trying to tell me
09:45
* apeiros
off for lunch for a bit
09:45
<
leftylink >
apeiros: I'm saying there's no bug.
09:45
<
apeiros >
leftylink: your code has nothing to do with what I said
09:45
<
apeiros >
!foo is a valid channel name
09:45
<
leftylink >
apeiros: you said there's a bug in printing #@asdf
09:46
<
leftylink >
apeiros: but #@asdf does not print #
09:46
<
apeiros >
tell me how you use op in such a channel.
09:46
<
apeiros >
#@name instead of #{@name}
09:46
* apeiros
should read code proper
09:46
<
apeiros >
sorry! you are right.
09:46
<
leftylink >
apeiros: plugins seem to start with "cinch-" by convension so I think we can look for plugins on github or rubygems this way?
09:46
<
apeiros >
but off for lunch now :)
09:47
<
leftylink >
I think that is the best we can do, no real directory other than these methods
09:51
<
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
09:51
<
leftylink >
maybe because it is harder to look for...
10:07
<
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.
10:59
djbkd has joined #cinch
11:03
djbkd has quit [Ping timeout: 264 seconds]
11:25
<
apeiros >
leftylink: thanks, I'll see what I find. rubygems has regex search, so that should be easy
12:10
britneywright has joined #cinch
13:13
<
dominikh >
just searching for "cinch-" on rubygems gets you pretty much all the plugins and no junk
13:28
<
apeiros >
yeah, I searched with "^cinch-"
13:40
britneyw_ has joined #cinch
13:41
britneywright has quit [Read error: Connection reset by peer]
16:20
sarkyniin has joined #cinch
16:35
<
apeiros >
what's the canonical way to check whether a user with a given nick exists within any channel the bot is active in?
16:36
<
dominikh >
Bot#channels.any? { |ch| ch.users.include?(User("apeiros")) } – off the top of my head
16:39
<
apeiros >
ok, thanks :)
17:07
djbkd has joined #cinch
17:08
djbkd has quit [Remote host closed the connection]
17:09
djbkd has joined #cinch
18:07
djbkd has quit [Remote host closed the connection]
18:12
djbkd has joined #cinch
18:46
djbkd has quit [Remote host closed the connection]
18:48
djbkd has joined #cinch
19:05
apt-get_ has joined #cinch
19:07
sarkyniin has quit [Ping timeout: 248 seconds]
19:31
apt-get__ has joined #cinch
19:35
apt-get_ has quit [Ping timeout: 255 seconds]
20:07
apt-get_ has joined #cinch
20:09
dryicebomb has joined #cinch
20:10
apt-get__ has quit [Ping timeout: 250 seconds]
20:20
Zackio is now known as CaveJohnson
20:36
britneyw_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:44
apt-get_ has quit [Ping timeout: 264 seconds]
20:45
apt-get_ has joined #cinch
21:25
djbkd has quit [Quit: My people need me...]
21:35
ChasedSpade has quit [Ping timeout: 256 seconds]
21:35
waxjar has quit [Ping timeout: 256 seconds]
21:38
apt-get_ has quit [Remote host closed the connection]
21:39
waxjar has joined #cinch
21:40
ChasedSpade has joined #cinch
21:44
dryicebomb has quit []
21:55
postmodern has joined #cinch
21:59
Azure has quit [Quit: My MBP went to sleep.]
22:12
Azure has joined #cinch
22:18
Azure has quit [Excess Flood]
22:20
Azure has joined #cinch
22:27
djbkd has joined #cinch
22:33
Azure has quit [Read error: Connection reset by peer]
22:36
Azure has joined #cinch
22:37
Azure has quit [Client Quit]
22:49
Azure has joined #cinch
23:46
Azure has quit [Excess Flood]
23:47
Azure has joined #cinch