You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Really enjoying using this thus far. Thanks for all your hard work! 💯 👍
I've been working on a simple command that turned out to be a bit more complex than I thought. At its core this command is a Dead Man's Switch (aka a time-delayed auto-responder) which means that after it's setup I need to add a receive middleware. In doing so I realized how much overhead each receive middleware is since it gets everything.
Wondering if there is any interest in expanding on the middleware concept and adding support for middlewares on types of messages: direct_message, direct_mention, mention and ambient.
But again you can do the same thing with .hears method with giving an appropriate RegEx. So, I'm not really quite sure why Botkit needs a middleware? Can you be more specific. Thanks!
I've been working on a simple command that turned out to be a bit more complex than I thought. At its core this command is a Dead Man's Switch (aka a time-delayed auto-responder) which means that after it's setup I need to add a
receive
middleware. In doing so I realized how much overhead eachreceive
middleware is since it gets everything.Wondering if there is any interest in expanding on the middleware concept and adding support for middlewares on types of messages:
direct_message
,direct_mention
,mention
andambient
.The proposed API would be very similar:
The text was updated successfully, but these errors were encountered: