This is a telegram bot that allows the user to have a “live” countdown on the event that they want to have.
python from the installation.python -m pip install -r requirements.txt (see Dependencies).env file with the template herepython . at the root directory.The requirements.txt file lists the packages the bot needs:
python-telegram-bot[job-queue]
python-dotenv
python-telegram-bot — the Telegram Bot API library (the [job-queue] extra pulls in APScheduler for scheduling the countdown end message)python-dotenv — loads the .env fileInstall them with:
python -m pip install -r requirements.txt
To add a new dependency, add its name to requirements.txt, then run the install command again.
.env fileBOT_TOKEN=<Your Bot Token>
= and the token itself)BOT_TOKEN from @botfather hereFeel free to send in a pull request. Ensure that all the unit tests are passing before sending in a pull request.
To Use this project, please add this line into your readme.
Referenced from [Jh123x Timer bot](https://jh123x.com/blog/2023/a-live-countdown-telegram-bot/)