DonDebonair / slack-machine

A simple, yet powerful and extendable Slack bot
https://dondebonair.github.io/slack-machine/
MIT License
757 stars 54 forks source link

Any way to have a catch-all respond_to listener? #996

Open coneybeare opened 5 months ago

coneybeare commented 5 months ago

Perhaps this approach would work, but I added a default catchall plugin that listened to (?P<command>.* in hopes that when the other respond_to plugins did not catch it, this plugin would respond with something like I dont understand the message... or show help or something. However what I observed was every single message sent to the bot responded via this catch-all.

Is a default message, or catch-all message possible?