dominikh1 changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.6
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
Space has quit [Remote host closed the connection]
v0n has quit [Ping timeout: 276 seconds]
sleetdrop has joined #cinch
sleetdrop has quit [Quit: Computer has gone to sleep.]
Spami has joined #cinch
Spami has joined #cinch
ex0a has quit [Ping timeout: 248 seconds]
Spami has quit [Quit: This computer has gone to sleep]
v0n has joined #cinch
postmodern has quit [Quit: Leaving]
v0n has quit [Ping timeout: 240 seconds]
Azure has quit [Ping timeout: 240 seconds]
Azure has joined #cinch
Spami has joined #cinch
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
ex0a has joined #cinch
v0n has joined #cinch
waxjar has joined #cinch
v0n has quit [Read error: Connection reset by peer]
<
awkisopen>
how can I read the command prefix?
<
awkisopen>
oh lawd nvm it's per-plugin not per-bot
<
awkisopen>
that makes more sense
<
waxjar>
there is a global prefix
<
waxjar>
i think it lives on Cinch::Bot, but I'm not sure
<
dominikh>
there's per-bot, per-plugin and, less common, per-matcher :)
<
awkisopen>
I'm looking in Plugins.rb and I see /^!/ defined
<
dominikh>
what are you trying to achieve?
<
awkisopen>
passing the prefix onto my command parser
<
dominikh>
plugin_class.prefix || bot.config.plugins.prefix
<
dominikh>
(substitute correct identifiers for plugin class and bot, naturally)
<
awkisopen>
thankee
v0n has joined #cinch
jonahR has joined #cinch
v0n has quit [Quit: WeeChat 0.4.1]
v0n has joined #cinch
jonahR has quit [Quit: jonahR]
jonahR has joined #cinch
mlue has quit [Ping timeout: 246 seconds]
jonahR has quit [Quit: jonahR]
v0n has quit [Quit: WeeChat 0.4.1]
v0n has joined #cinch
postmodern has joined #cinch
v0n has quit [Ping timeout: 248 seconds]
v0n has joined #cinch