bootbot icon indicating copy to clipboard operation
bootbot copied to clipboard

i18n and sessions

Open d3vvcom opened this issue 4 years ago • 1 comments

Hello, how connect i18n and session? BootBot class doesn't support middleware(.use())? Thanks for the help

d3vvcom avatar Jan 13 '21 09:01 d3vvcom

I may be too far late but you can just take the express instance using bot.app and do it like this:

const bot = new BootBot({
  ...
}) 

bot.app.use(...)

qxb3 avatar Sep 28 '22 08:09 qxb3