calico-crusade / palringo-api-std

Palringo API re-written for .net standard.
MIT License
5 stars 1 forks source link

Multiple abbreviations of a command call base commands. #6

Closed skysb1 closed 5 years ago

skysb1 commented 6 years ago

Supposing we have "!bot scores ID" and "!bot sc ID", if we set up two command methods for it, "!bot sc ID" is called twice (supposing it uses a startswith or regular expression) where in the score time, the cmd received is "ores ID".

It would be great if the API support command abbreviations. (Either by removing the startswith and making it equal to, or allow multiple command definitions in the same property, if possible).

Cheers

calico-crusade commented 5 years ago

I have rectified this issue in the latest-rewrite of the API it can be found at BotsDotNet. Please use that library to work with override-able plugins.