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
Found an issue with middlewares: regular middlewares doesn't fire when the user moves through scenes.
Solution:
Add a UseStage decorator that will work similar to the Use decorator, but instead of using this.bot.use(), use this.stage.use(). Such middlewares work regardless of whether the user is in the scene or not
The text was updated successfully, but these errors were encountered:
Issue:
Found an issue with
middlewares
: regularmiddlewares
doesn't fire when the user moves through scenes.Solution:
Add a
UseStage
decorator that will work similar to theUse
decorator, but instead of usingthis.bot.use()
, usethis.stage.use()
. Such middlewares work regardless of whether the user is in the scene or notThe text was updated successfully, but these errors were encountered: