EdJoPaTo

Results 355 comments of EdJoPaTo

Interesting. I havn't thought about checking commands like `cargo publish` about similar behaviour. I only checked the clippy lints for cargo (`cargo clippy -- -W clippy::cargo`) which also do not...

Personally I like using sane defaults which don't require to specify everything explicitly. The [Cargo manifest](https://doc.rust-lang.org/cargo/reference/manifest.html#the-readme-field) states that default which is totally fine to me. So yeah, I could state...

From your screenshot / Home directory path in your first answer I assume you are using macOS. I just ran `cargo package` and `cargo publish --dry-run` on my MacBook which...

I think it might be a good idea to fail if there is no readme at all. There should be a `--allow-missing-readme` or something like that like there is `--allow-dirty`...

> @EdJoPaTo whats the jq command btw? Its a command line helper to interact with json data. See https://stedolan.github.io/jq/

`mqttui` is for viewing MQTT messages on a broker. For example when testing around with stuff to see whats actually happening. But these messages should be marked off-topic in this...

The language used is loaded from `session.__language_code`. If its not available from the `from.language_code` which is the user. If that does not exist its the `config.defaultLanguage`. Typically I would say...

Personally I switched over to grammy and grammy-i18n. It has way better [documentation](https://grammy.dev/) and does a lot of things right.

Are you seeking for `defaultLanguageOnMissing` or `allowMissing`? Also you probably want to use https://github.com/grammyjs/i18n as this repo is unmaintained. It works with both grammY and Telegraf.

you can already add it yourself when needed. ```ts bot.command('translaception', async ctx => { const result = ctx.i18n.t('whatever', {t: ctx.i18n.t}) await ctx.reply(result) }) ``` For a more permanent solution add...