No description
Find a file
Your Name ce964a5425 Reduced RAM usage when database have 1000000+ rows
This fix for low-end PC/notebooks/bare servers/VPSes/etc
* add more shuffle
* add some new bugs :)
2024-12-09 13:13:23 +03:00
.gitignore fork huge commit 2024-12-08 16:03:27 +03:00
README.md S1S13AF7 said delete this, because is unused 2024-12-08 20:46:40 +03:00
requirements.txt fork huge commit 2024-12-08 16:03:27 +03:00
ubot.py Reduced RAM usage when database have 1000000+ rows 2024-12-09 13:13:23 +03:00

This is fork from: https://github.com/S1S13AF7/ub4tg
Main changes:

  • removed iris compatibility
  • added loguru
  • other some improvments

before start, create config.json file with this content:

{
  "api_id": 0000000,
  "api_hash": "1234567890",
  "timezone": "Europe/[Your_city]",
  "db_pymysql": false,
  "db_sqlite3": true,
  "a_h": true
}

ub4tg юзербот для телеграма.

покищо лише пінґ-понґ і збереження хто кого заразив

БД може бути sqlite і/або MySQL (та хоч дві зразу)
переключається прямо в файлах ботів:

db_pymysql = True#set True or False
db_sqlite3 = True#set True or False