Hello! I need a Telegram bot with a balance system, roulettes, and withdrawal requests
# 🤖 1. User Balance
* The user has 2 balances:
* 💵 UAH (for deposits and spins)
* 🪙 gold (winnings from roulette)
* Balances are displayed in the profile
---
# 💳 2. Balance Top-Up (manual)
* Button: “Top Up Balance”
* The bot provides payment details
* The user sends money
* Clicks: “I have paid”
* An application is sent to the admin
* The admin confirms / rejects
* Upon confirmation, the UAH balance is topped up
---
# 🎰 3. Roulette
* The user selects a roulette
* Before spinning, the following is shown:
* price (in UAH)
* possible winnings (in gold)
* chances of winning
* During the spin:
* the UAH balance is deducted
* a result is randomly generated based on the chances
* gold is credited
* the result is displayed
---
# 🪙 4. Gold
* This is internal currency
* It accumulates after roulettes
* Used for withdrawals
---
# 💸 5. Gold Withdrawal (IMPORTANT)
* Button: “Withdraw Gold”
## Logic:
1. The bot shows the available balance for withdrawal
2. The user enters the amount in gold
3. The bot:
* deducts this amount from the balance
* divides it by 0.8 (withdrawal formula)
* shows a message to the user:
> “Set G22"flock" with any sticker for the amount of **X gold** and send a screenshot”
4. The user sends a screenshot
5. The bot:
* sends this screenshot to the admin
* creates a withdrawal request
6. The admin confirms the withdrawal
7. After confirmation, the bot writes to the user:
> “Withdrawal completed”
---
# ✉️ 6. Message to Admin
* There is a “Message Admin” function
* The user can send a text message
* It arrives to the admin in Telegram
* The admin can reply manually
---
# 🎛 7. Admin Functions
* confirmation of top-ups
* confirmation of withdrawals
* viewing applications
* changing user balances
* configuring roulettes (prices, chances, winnings)
---
# 🎰 8. Roulettes (2–3 pieces)
* different spin prices
* different chance tables
* winnings only in the form of gold
---
# ⚙️ Technical Requirements
* Python (aiogram) or equivalent
* PostgreSQL or SQLite database
* stable operation without balance errors
* logging of all operations (spins, top-ups, withdrawals)
---
# 💬 Additional
* all functionality only in Telegram
* no website
* convenient button navigation
* clean and structured code
---
💰 Budget: (to be discussed separately)