IlyaSemenov / grammy-scenes

Nested named scenes for grammY
MIT License
26 stars 0 forks source link

Add support for multi sessions #11

Closed sc0ch closed 1 year ago

sc0ch commented 1 year ago

Hello! grammy-scenes very useful and the only one plugin of its kind. Please add multi session support function. Thanks.

IlyaSemenov commented 1 year ago

Would you come up with an imaginary example or use case?

sc0ch commented 1 year ago

grammy-scenes stop working, when sessions use "multi" mode. probably because ctx.session arg is hard-coded and scene parsing stops after first element. disabling multi use returns to work "as-usual".

grammy @ 1.15.2

IlyaSemenov commented 1 year ago

Ah, I see, you mean https://grammy.dev/plugins/session.html#multi-sessions

This library was developed when there was no such thing. As such, it is not supported at the moment. Thank you for report, this should be an easy addition I suppose.

sc0ch commented 1 year ago

Thanks... Waiting for an update. Hope this day will come soon.

IlyaSemenov commented 1 year ago

This was fixed in 7.3.1.