Skip to content

Repository files navigation

alias_bot

Alias is a party game, where teams play against each other to guess as many words as possible before time runs out. Запись_2023_02_27_00_07_05_469

⚙️ Game settings

settingpossible valuedefault value
languageRussian, English, Karachay-BalkarRussian
levelEasy, Normal, HardNormal
score to winnumber between 1 and 200100
time (sec)number between 10 and 30060
pass taxdeduct or not deductnot deduct

💬 Spam control

Bot generate "Lorem-ipsum" answer to spam with API from https://api-ninjas.com/
image

🧰 Requirements:

This project was done with python-3.8.10 and aiogram-2.24

🔗 Download & Run

Clone repository:

git clone https://github.com/shuygena/alias_bot alias_bot

Go to directory:

cd alias_bot

Create virtual environments:

python3 -m venv venv

Activate virtual environments:

source venv/bin/activate

Install requirements:

python3 -m pip install -r requirements.txt

Run:

python3 bot.py

you need to have your own .env where the tokens are stored (like in .env.example)

📋 TODO

  • write bot
  • add MIT.LICENSE
  • add README
  • set Redis
  • add DB with SQLite
  • add logging
  • add tests
  • change notification about settings

🎓 Tutorial

Telegram-bots course (ru)

About

🎩 Alias game (also known as The Hat Game)

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages