Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
coneybeare opened this issue Apr 8, 2024 · 0 comments
Open

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

coneybeare opened this issue Apr 8, 2024 · 0 comments

Comments

@coneybeare
Copy link

coneybeare commented Apr 8, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant