Contest & Referral Giveaway Bot — a fully ready Telegram bot template with an SQLite database and an admin panel.
Commands: /start, /top, /myref, /draw.
All files (main.py, requirements.txt, .env) are installed on your server in one click via EliteMarket / Modpacks, and PY_FILE=main.py is set automatically.
Features
A personal referral link for every user (?start=ref_ID)
+10 points and a notification for every real friend invited
Live Top-10 leaderboard and a personal dashboard
The admin picks a random winner with /draw
What's in the package
main.py
requirements.txt
.env
.env.example
README.md
Installation guide
On your Bot Hosting server, press “Install on server” in the “Modpacks” section or on the EliteMarket page. Enter your @BotFather token (BOT_TOKEN) and your Telegram ID (ADMIN_ID) in the install window and the bot starts automatically right away!
Update history
v1.0.0MAJOR22.11.2026
1.0.0 — fully tested official release, ready for one-click install.