mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
For #451. Setting in integrations > chat bots > telegram makes jfa-go ignore the telegram users clients lanugage setting and always use whatever is set as the default language in jfa-go. Also added /lang default, to un-set a preferred language. the start message also now shows up on typing /help or !help too.
The two python scripts here, `config-json-to-new-yaml.py` and `gen-rough-schema.py` were used to convert the old format, which was stored in a JSON file, to the new format in YAML. The latter script is used to get the possible values for settings and sections, so they could be properly defined in common/config.go.