johnmaguire / Cardinal

A Python IRC bot, designed to make adding functionality quick and simple. (est. 2013)
MIT License
100 stars 38 forks source link

Remove natural language syntax for commands #169

Closed johnmaguire closed 3 years ago

johnmaguire commented 4 years ago

This causes a lot of hassle inside plugins because if you're looking for an input (e.g. .setw 43202), you need to check the second word and the third word, depending on the first word.

Nobody really uses the natural language stuff anyway, so I think it's easiest to just remove it.

johnmaguire commented 4 years ago

This will fix #154

johnmaguire commented 3 years ago

On the other hand, it can be quite useful for testing purposes, when you want to speak to a single Cardinal bot, but multiple exist in a channel.

Another alternative might be to rewrite the message to a single format. Plugins could still get the raw message via an event callback - or we could allow them to set a flag.