This bot is like "Ebobot" @kraft28_bot but that's open-source was written on Python.
- TOKEN=here is your telegram token
- OWNER=here is owner's telegram id
TOKEN=1777031958:AAF4O-_GmkvFJvhP7cVlxa697Y48rUPC4Hc
OWNER=37592934
- DB_NAME - database name
- TOKEN - token which gets in .env file
- SUPER_USERS - owners id which gets in .env file and you can add other to list
Recommended Python version: Python 3.10.5
- random
- sqlite3
- os
- time
- aiogram
Creating a virtual enviroment
python3 -m venv venv
Activate venv
source venv/bin/activate
Installing necessary modules
pip3 install -r requirements.txt
Run the bot
python3 app.py
Deativate venv
deactivate
- /start — greet the bot
- /ass — start playing
- /luck — try your luck
- /help — show help message
- /leave — leave game and delete user's data
- /r text — send report to
reports
table - /statistic — show top list of users
- /about — show info about the developer
- /admin — show admin commands
- /bl group_id — show banned users
- /ban group_id user_id — add user to blacklist
- /groups — show groups id and name where bot are using
- /ub group_id user_id — unban user
- /reports — show all reports from table
reports
- /dreports — show all reports from table
reports
(detailed form) - /clear — delete all rows in table
reports
- /notify — notify all groups by your message
Adding bot to the group (it needs for creating a group's table)
/ass (your ass can reduce and icrease by random or stay without changes)