EdJoPaTo

Results 355 comments of EdJoPaTo

I'll just close this due to inactivity. If you have any questions feel free to ask ahead!

The second argument of replyToContext is the menu path to be opened which isnt what you need. You can access stuff on the context from within the menu. So either...

The [grammY docs names it `ctx.config`](https://grammy.dev/guide/context.html#customizing-the-context-object). You can basically choose your own names. The session stays over multiple requests while this state, config or however its called is kept for...

I'll just close this due to inactivity. If you have any questions feel free to ask ahead!

Shouldn't the file handling and translation be separate? At least for my bots I read in all the fluent files at startup and translations then should be handled independently of...

Have you checked out [How does it work](https://github.com/EdJoPaTo/grammy-inline-menu?tab=readme-ov-file#how-does-it-work) on the README? Adding the suggested `bot.use` with a `console.log` can be quite helpful in order to figure out where the menu...

I'll just close this due to inactivity. If you have any questions feel free to ask ahead!

Using [OnceLock](https://doc.rust-lang.org/std/sync/struct.OnceLock.html) could be an alternative as it's available from earlier Rust versions, but it also requires a bump of the MSRV to 1.70. Personally I prefer to keep the...

> > So I would prefer something like this in the actual backend. > > Can you explain your preference here a bit more? This is specific to `crossterm` so...

I think it's still interesting to keep some of them. For example the mate, lxde or cinnamon Desktops are kind of known, and it's interesting to see their share on...