davidboy has quit [Quit: Connection closed for inactivity]
leftylink has quit [Ping timeout: 246 seconds]
<ayonix>
If you don't want a prefix tell it to don't use one :-P
<ayonix>
CM-Punk: /^^/ just looks wrong
<CM-Punk>
Well even when I take those out it doesn't work
<ayonix>
i think you can tell it by set :prefix, :none or something like that
<ayonix>
or for every matcher with use_prefix: false
<ayonix>
or was it a set :prefix, Nil? I can't remember :S
<CM-Punk>
use_prefix: false is correct, but the plugin still isn't working
<ayonix>
Maybe I'll try it later
<CM-Punk>
Thanks ayonix, it's a real headscratcher for me.
<Netfeed>
CM-Punk: you're missing an end on row 41
<CM-Punk>
Netfeed an end?
<Netfeed>
yeah, your block isn't closed
<Netfeed>
everything else is added inside the supr method
<ayonix>
that's way too easy :D
<CM-Punk>
OH FFS
<CM-Punk>
NETFEED
<CM-Punk>
Thank you
<CM-Punk>
Why didn't I see that!?
postmodern has quit [Quit: Leaving]
<Netfeed>
:)
CM-Punk has quit [Ping timeout: 240 seconds]
CM-Punk has joined #cinch
rampageRipper has joined #cinch
DeepBlue has quit [Read error: Connection reset by peer]
rampageRipper is now known as DeepBlue
<CM-Punk>
Is there a way to make the bot check to see if it's already in a channel, or if it's op, or if you're op of a channel?
<dominikh>
sure.
<CM-Punk>
How would I go about doing that dominkh?
<dominikh>
(not my name) I don't feel like explaining all three, especially since they overlap, so pick one :)
<CM-Punk>
Oh, I don't use tab, I should though, so let me show you respect by saying your name right dominikh. I'm sorry
<CM-Punk>
How about to see if it's already op
<CM-Punk>
?
<dominikh>
great, because that's the same as checking it for anyone else: given a channel object `ch` (m.channel or the Channel() helper, for example): ch.opped?(some_user) – where some_user can be any User object (e.g. m.user) or @bot
<CM-Punk>
Oh that's really easy.
<dominikh>
as for checking whether the bot is in a channel: Bot#channels is an array of all channels it is in
Spami has joined #cinch
Spami has quit [Max SendQ exceeded]
Spami has joined #cinch
Spami has quit [Ping timeout: 245 seconds]
Spami has joined #cinch
<CM-Punk>
Okay dominikh, I spoke too soon. It's not as easy as I thought. Are you saying I need to define a helper? Because it's saying ch is undefined.
<dominikh>
…
<dominikh>
"given a channel object `ch` (m.channel or the Channel() helper, for example)"
<dominikh>
it's whatever channel object you have
<dominikh>
m.channel, a channel you created with the Channel() helper, or whereever you took it from
<dominikh>
ch is a placeholder.
<dominikh>
and I'll be afk now
<CM-Punk>
Got it
<CM-Punk>
Thanks dominikh it worked
Spami has quit [Ping timeout: 246 seconds]
Spami has joined #cinch
Spami has quit [Changing host]
Spami has joined #cinch
Spami has quit [Client Quit]
Elderspy has quit [Remote host closed the connection]