Open came opened 1 year ago
Seems to be a problem with multi sessions. After changing my session config it is working "the conversation stops". The code around that problem is quite complex for me, but maybe the problem is due to fact that session.conversation is set to undefined but it is not saved to redis storage? At least that is what I have experience.
BR, Carsten
bot.use(session({
type: 'single',
// custom: {
initial: initBotSession,
storage: new UPRedisAdapter<MySession>({ instance: getClient(), prefix: `${environment}:session#` })
// },
// conversation: {
// storage: new UPRedisAdapter({ instance: getClient(), prefix: `${environment}:conversation#` })
// }
}));
This needs investigation
Hey there,
This is my first conversation with grammy, so I started with a small example (see below). My problem is that the conversation keeps on waiting for new input and never ends. Does anyone experienced this behaviour before and has a clue where the problem my come from?
This is my multi session redis based store definition
and how I add the conversation to the bot