Closed tjhsstBot closed 11 years ago
this means moving the privmsg checks from handler.py down into the commands.
We could do this with the decorator functionality fwilson42 is working on.
something like @access(reject=priv, msg=nope) ?
add a pm arg? then in the cmd
if pm = true:
send(
-----
On Mon, Sep 23, 2013 at 5:08 PM, pefoley2 notifications@github.com wrote:
something like @access(reject=priv, msg=nope) ?
— Reply to this email directly or view it on GitHubhttps://github.com/tjcsl/cslbot/issues/370#issuecomment-24954736 .
No, decorators are better.
if we did args, it'd be a msgtype one, but this can wait till @fwilson42 finishes decorators.
Issue created by pfoley!peter@pool-173-66-22-141.washdc.fios.verizon.net