Bot
DiBot CV FEE
Python Telegram bot for converting, managing, and merging VCF (vCard) and TXT contact files. Equipped with automatic QRIS payment system via Pakasir, VIP membership, and webhook handler.
Features
File Conversion & Management
| Feature | Description |
|---|---|
| TXT → VCF | Convert a list of numbers into a VCF file with custom contact names |
| VCF → TXT | Extract numbers from a VCF file into TXT |
| XLSX/CSV → TXT | Extract numbers from a spreadsheet into TXT |
| Merge VCF/TXT | Combine multiple VCF/TXT files into one, with automatic deduplication |
| Split VCF | Split a large VCF into several smaller files by contact count |
| Rename VCF | Bulk-rename contacts inside a VCF file |
| Count | Count the number of contacts in a VCF/TXT file |
VIP & Payment System
- Automatic QRIS payment via Pakasir (no manual confirmation)
- QR code rendered directly in chat, VIP activated automatically after payment
- Webhook handler for real-time payment confirmation
- Fallback to manual mode if Pakasir is not configured
- Plans: 1 week / 2 weeks / 3 weeks / 1 month
Infrastructure
- SQLite connection pool (32 connections, WAL mode) — no crashes under concurrent load
- Async DB wrapper — all DB calls run via thread pool, the event loop is never blocked
- Disk-based sessions — process large files without OOM
- Rate limiting per user (semaphore) + per file
- Scheduled jobs — automatic VIP expiry, session cleanup, stale payment expiry
- Health check endpoint —
GET /health - Webhook HMAC verification — double-layer security (HMAC + order_id + amount)
Bot Commands
User
| Command | Description |
|---|---|
/start |
Start the bot / reset session |
/vip |
View plans & buy VIP via QRIS |
/akun |
Check account & VIP status |
/referral |
Your referral code |
/txttovcf |
Start TXT → VCF conversion |
/vcftotxt |
Start VCF → TXT conversion |
/xlsxtotxt |
Start XLSX/CSV → TXT conversion |
/merge |
Merge VCF/TXT files |
/pecahvcf |
Split a VCF into several files |
/rename |
Rename contacts in a VCF |
/count |
Count contacts in a file |
/done |
Finish the current process |
/reset |
Reset the active session |
Admin Only
| Command | Description |
|---|---|
/admin |
Main admin panel |
/addvip <user_id> <days> |
Manually add VIP |
/delvip <user_id> |
Revoke VIP |
/newmember |
Manually add a member |
/delmember |
Remove a member |
/daftar |
View all registered users |
/stat |
Bot statistics |
/broadcast |
Broadcast text to all users |
/mediabroadcast |
Broadcast media to all users |
/resetdatabase |
Reset logs & sessions (users & VIP are safe) |