Zirak / SO-ChatBot

Other
124 stars 62 forks source link

Make listeners have higher priority than commands if the slash is not given #285

Open ghost opened 7 years ago

ghost commented 7 years ago

Reading the wiki page on listeners, I ran "!!tell me the law". Instead of giving me the rules, Caprica responded with "@zondo Command the does not exist. (note that /tell works on commands, it's not an echo.)". That looks like she was taking "tell" as a command rather than a regexp listener. It's nice that leaving out the slash is okay for most commands, but I think the listener should have higher priority than the command if the slash is not given.