]> jfr.im git - erebus.git/commit
Added extra parameter to callbacks, "realtarget"
authorzonidjan <redacted>
Wed, 18 Dec 2013 16:58:40 +0000 (10:58 -0600)
committerzonidjan <redacted>
Wed, 18 Dec 2013 16:58:40 +0000 (10:58 -0600)
commit861f83ef8b0eabf05d39070f27f1c3c71fb81fef
tree104e963a565d99e89acbf4471e31cd58d9ceee0e
parent839d2b358368b12c685ad30e6e6a534179dd0478
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