https://github.com/shuygena/alias_bot
🎩 Alias game (also known as The Hat Game)
https://github.com/shuygena/alias_bot
aiogram alias-game python3 telegram-bot
Last synced: 3 months ago
JSON representation
🎩 Alias game (also known as The Hat Game)
- Host: GitHub
- URL: https://github.com/shuygena/alias_bot
- Owner: shuygena
- License: mit
- Created: 2023-01-30T01:06:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-26T22:01:51.000Z (over 2 years ago)
- Last Synced: 2025-01-17T02:22:53.292Z (5 months ago)
- Topics: aiogram, alias-game, python3, telegram-bot
- Language: Python
- Homepage: https://t.me/alias_international_bot
- Size: 172 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alias_bot
Alias is a party game, where teams play against each other to guess as many words as possible before time runs out.

## :gear: Game settings
| 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 |## :speech_balloon: Spam control
Bot generate "Lorem-ipsum" answer to spam with API from https://api-ninjas.com/
## :toolbox: Requirements:
This project was done with python-3.8.10 and aiogram-2.24## :link: 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)
>## :clipboard: TODO
- [x] write bot
- [x] add MIT.LICENSE
- [x] add README
- [ ] set Redis
- [ ] add DB with SQLite
- [ ] add logging
- [ ] add tests
- [ ] change notification about settings## :mortar_board: Tutorial
[Telegram-bots course ](https://stepik.org/course/120924/info) (ru)