v2.2.0
Added
- If the user selects a language that is already set - the settings menu opens
- Added caching of the entire content of some messages, which should speed up the bot a bit
- The "Info" menu now displays the current version of the API, as well as the supported version of the API
- Added an alias button to /left in the "More" menu (Not for long)
- Not bot sends important logs to me in Telegram so now I can detect critical errors faster
Fixed
- The bot now again calculates the time to the break
- Fixed all potential bugs related to lack of proper escaping
- Bot can't start without loaded cache
- Bot can't use negative values in next ENV fields:
- API_REQUEST_TIMEOUT
- API_CACHE_EXPIRES
Changed
- Min python version is now 3.8
- Reworked the text of the menu with an error about the wrong group
- Removed emoji before "Bot creator" in the "Info" menu in the English localization
- The "Change lang" button has been renamed "Change language"
- Changed bot creator credits in the Info menu
- Updateв the Telegram Markdown version to V2
- Change message.id to message.message_id to support older versions of pyTelegramBotApi
- Changed settings menu
- Changed the default language definition mechanism
Previously: the bot set its language based on the language of the user interface
Now: the bot sets a fixed language selected in env
Improved
- Improved localization files
- Improved requirements
- The api library has been significantly improved
- Lots of code improvements
Full Changelog: v2.1.1...v2.2.0