This is a telegram bot that allows the user to have a "live" countdown on the event that they want to have.
- Python
- You have to download
python
from the installation.
- You have to download
- Download this repository
- Install the dependencies using
python -m pip install -r requirements.txt
- Create a
.env
file with the template here - Start the application by running
python .
at the root directory.
API_ID=<Your API ID>
API_HASH=<Your API Hash>
BOT_TOKEN=<Your Bot Token>
- Copy the template above (Note that there is no space between the
=
and the id itself) - Get your
API_ID
andAPI_HASH
here- Replace the
API_ID
andAPI_HASH
(including the<
and>
) with the ones you got from the link above
- Replace the
- Get your
BOT_TOKEN
from@botfather
here
- Note that once you turn off the bot, all the event information is lost. (This might be a feature to be added in the future)
Feel 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/)