-
-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I expect middleware to run for set and delete commands, but in fact I get this behavior for all commands. How can I concretize the execution of the middleware layer?
bot.AddInteractionHandler(res)
res.AddFunc("stats", res.Stats)
res.AddFunc("help", res.Help)
res.AddFunc("get", res.Get)
res.AddFunc("search", res.Search)
res.Use(res.CheckAccess)
res.AddFunc("set", res.Set)
res.AddFunc("delete", res.Delete)Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request