A Telegram bot built using aiogram==3.0.0b7 and other modules listed in the requirements.txt
file. The bot sends a daily list of today's holidays at specified hours and includes various other cool features.
You can use last version of bot there.
- Daily holiday updates
- List of tomorrow's holidays
- Search holidays by day and month or name
- Personalized settings
- Admin command features
-
Clone the repository:
git clone https://github.com/khivus/today-holiday-tgbot.git cd today-holiday-tgbot
-
Install dependencies:
pip install -r requirements.txt
-
Set up your Telegram bot token:
-
Create a new bot on Telegram using BotFather.
-
Copy the generated token.
-
Create a
.env
file in the project root and add your token:API_TOKEN=your_token_here
-
Run the bot using the following command on Linux:
API_TOKEN=<your_token> python3 -m src
or using PowerShell:
$env:API_TOKEN = "<your_token>"
python -m src
Adjust the bot settings in the config.py
file:
Make sure to configure the desired timezone and other settings within the constants.py
file.
This project is licensed under the MIT License - see the LICENSE file for details.