Giter VIP home page Giter VIP logo

today-holiday-tgbot's Introduction

Telegram Holiday Bot

CodeFactor

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.

today-holiday-tgbot's People

Contributors

khivus avatar sosnoviybor avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.