Open ingoweiss opened 9 years ago
You're not missing anything. Go ahead with your extension! Please share your work, too – I'm gonna be revising the chat route API in Lita 5 and would likely be interested in incorporating this feature.
I published a very simple extension, 'lita-non-command-only' that does what I need it to do for now until it is hopefully rendered obsolete by Lita 5 ;-)
BTW how do I get my plugins (this one and 'lita-estimate') to show up on https://www.lita.io/plugins ?
Thanks for doing this! They should show up automatically when a job runs every night, though right now I don't have good notifications set up to alert me if it fails. I will look into it soon!
I have a route that should match only if the message is not a command, so basically the opposite of command: true. I am not aware of a way to make this happen currently.
I was thinking about writing an extension for this, but I wanted to ask whether I am missing anything first.
Ideally, I would want the 'route' method's 'command' option to support three values (as opposed to just true/false): 'yes', 'no' and 'both'