Skip to content

Ratery/cultural-code-bot

Repository files navigation

@CulturalCodeBot MIT License Last commit

Cultural code bot

A simple Telegram bot for lyceum project. Uses asynchronous aiogram framework.
This bot is intended to work only in DMs.

Features

  • Easy to use navigation menu with buttons
  • /quiz command to pass the test of knowledge of the etiquette rules
  • Menu to view information about the basic etiquette rules by topics

Technologies

  • aiogram — interaction with Telegram Bot API
  • cachetools — implementation of throttling to prevent flooding

Installation instructions

Python 3.8 or higher is required

  1. Clone the repository:
$ git clone https://github.com/Ratery/cultural-code-bot
$ cd cultural-code-bot
  1. Install dependencies:
$ pip install -r requirements.txt
  1. Create and set up the .env file:
BOT_TOKEN = <YOUR_TOKEN>
  1. Run the bot:
$ python bot.py

Note: We do not provide support for self-hosting.

License

MIT — see LICENSE file for details.

About

A Telegram bot for "Cultural code" lyceum project made with aiogram 3.

Topics

Resources

License

Stars

Watchers

Forks

Contributors