Commit graph

4 commits

Author SHA1 Message Date
latan
6b2b3f48a7 Remove hardcoded tokens, opt for environment variable 2023-08-10 15:00:44 +03:00
latan
879b333a11 Add guidance comments on obtaining bot tokens from environment variables 2023-08-10 14:52:39 +03:00
latan
518739724c Refactor and improve bot messages
Refactored bot code to use aiogram enumerations and enhanced chat messages with markdown beautifications for a more user-friendly display.

CommandStart() is now used instead of Command('start') for readability.

Furthermore, the bot's 'stop' command was improved, ensuring it executes appropriately during KeyboardInterrupt or SystemExit.

Additionally, the bot's logging was adjusted to output to sys.stdout for better logs' readability.
2023-08-10 11:46:22 +03:00
Alex Root Junior
b311d59fce
Webhook docs (#1248)
* Added documentation for polling/webhook modes

* Added changelog

* Added changelog
2023-08-06 16:59:29 +03:00