bitbot icon indicating copy to clipboard operation
bitbot copied to clipboard

Allow multiple prefixes/cmdchars

Open Mikaela opened this issue 6 years ago • 2 comments

I suggested it earlier on #bitbot due to the confusion where some people expect it to respond to !commands while others expect ,commands due to some network which name I have forgotten and I think the solution would be simply replying to both (which I understood to be currently unsupported).

Mikaela avatar Jul 19 '19 19:07 Mikaela

I think the way I'll go about this is add a command-prefixes setting alongside the current command-prefix setting - bitbot will pull both and union them and check all possible command prefixes against PRIVMSGs.

that way you can do have "!" as the command-prefix and then have "," and "." in command-prefixes which will end up looking for all 3.

or would users expect command-prefixes to completely override the command-prefix?

jesopo avatar Jul 23 '19 16:07 jesopo

I can do this if you want

AntonMcClure avatar Jul 23 '19 18:07 AntonMcClure