tombeynon / lita-ai

Makes lita respond to unhandled messages using Cleverbot
8 stars 7 forks source link

ai blocked by always-on plugins #1

Open ngtjah opened 8 years ago

ngtjah commented 8 years ago

Hey, Nice plugin, thanks!

I was testing various plugins and I found that I needed to disable the always on plugins like lita-poetry and lita-logging. It seems that since these plugins accept all messages that :unhandled_message is never called so the ai plugin cannot function. After I disabled these plugins the ai plugin started working. I'm not sure if there is anything you can do about this issue.

-ngtjah

tombeynon commented 8 years ago

Ahah, I would assume those plugins use a catch-all regex, rather than using the unhandled_message event. Unfortunately there's not much I can do about that since Lita will think that a handler has picked up the message, so AI doesn't need to get involved.

Since unhandled_message was only added in Lita v4 (I believe), a lot of plugins don't use it. We might need to start some PRs!

tombeynon commented 8 years ago

https://github.com/jjasghar/lita-ambush/pull/11 one down...