]> jfr.im git - erebus.git/commit
Added extra parameter to callbacks, "realtarget"
authorJohn Runyon <redacted>
Wed, 18 Dec 2013 16:58:40 +0000 (10:58 -0600)
committerJohn Runyon <redacted>
Wed, 18 Dec 2013 16:58:40 +0000 (10:58 -0600)
commit30e3843de07b9c4e6ca6e92fcae715d28ac2a39e
tree104e963a565d99e89acbf4471e31cd58d9ceee0e
parent67e04ca5bbdfb8d128767750058d665af3a39c44
Added extra parameter to callbacks, "realtarget"

Specifies the "actual" target of a PM (be it bot's nick or channel or ...)

Will be useful for a "JOINCHAN" command (as it will be able to work in PM,
    a la "if realtarget != chan: jointo = chan; else: jointo = args[0]"
bot.py
modules/eval.py