Alias is a party game, where teams play against each other to guess as many words as possible before time runs out.
setting | possible value | default value |
---|---|---|
language | Russian, English, Karachay-Balkar | Russian |
level | Easy, Normal, Hard | Normal |
score to win | number between 1 and 200 | 100 |
time (sec) | number between 10 and 300 | 60 |
pass tax | deduct or not deduct | not deduct |
Bot generate "Lorem-ipsum" answer to spam with API from https://api-ninjas.com/
This project was done with python-3.8.10 and aiogram-2.24
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)
- write bot
- add MIT.LICENSE
- add README
- set Redis
- add DB with SQLite
- add logging
- add tests
- change notification about settings
Telegram-bots course (ru)