Skip to content

khivus/today-holiday-tgbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Holiday Bot

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.

Features

  • Daily holiday updates
  • List of tomorrow's holidays
  • Search holidays by day and month or name
  • Personalized settings
  • Admin command features

Installation

  1. Clone the repository:

    git clone https://github.com/khivus/today-holiday-tgbot.git
    cd today-holiday-tgbot
  2. Install dependencies:

    pip install -r requirements.txt
  3. 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
      

Usage

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

Configuration

Adjust the bot settings in the config.py file: Make sure to configure the desired timezone and other settings within the constants.py file.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Какой сегодня праздник бот.

Topics

Resources

License

Stars

Watchers

Forks

Languages