_whitelogger has joined #cinch
_whitelogger has joined #cinch
Azure has quit [Quit: Oops.]
Azure has joined #cinch
Azure has quit [Client Quit]
Azure has joined #cinch
greenbigfrog has quit [Quit: The server of my BNC just shutdown or got killed!!!]
S007 has quit [Ping timeout: 255 seconds]
S007 has joined #cinch
S007 has quit [Ping timeout: 255 seconds]
S007 has joined #cinch
greenbigfrog has joined #cinch
S007 has quit [Quit: Quit]
S007 has joined #cinch
moeSizlak has joined #cinch
<
moeSizlak>
suppose in a plugin i have a constructor that needs to get a reference to the current bot
<
moeSizlak>
how can i get it
<
moeSizlak>
there is no message so i cant call m.bot
<
dominikh>
the argument to the constructor of plugins is the bot instance
<
moeSizlak>
so.... this.bot ?
<
moeSizlak>
def initialize(*args)
<
dominikh>
this is basic Ruby and not specific to Cinch.
<
moeSizlak>
well consider me a partial noob
<
dominikh>
You may want to ask your question in #ruby then