Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
/ v2-xbot Public archive

A multi panel, serverless (cloudflare worker) bot to order management & VPN Accounting

License

Notifications You must be signed in to change notification settings

javadib/v2-xbot

Repository files navigation

v2-xBot

Downloads License

v2-xBot is multi panel, serverless (cloudflare worker) bot to order management & VPN Accounting system.

Features

  • Add new order
  • Order history
  • Management
    • Manage (CRUD) Panels in bot
    • Manage (CRUD) Servers in bot
    • Manage (CRUD) Payments methods in bot
  • Apps & link (for users)
  • Custom Welcome text
  • Seed data for clientApps
  • User Profile
  • Affiliate system

Get Started

  1. Create a cloudflare worker, KV namespace & bind to db variable
  2. Go to worker settings, variables section, and add following variables:
    • adminId : your Telegram Admin ID (get from MyIdInfoBot).
    • botToken : your Telegram bot token.
    • tlgSupport : your support Telegram username (Remember put @ at the first).
  3. Download Latest Version
  4. Extract dist.zip and replace whole index.js codes with default cloudflare worker code.
  5. Open YOUR_WORKER.worker.dev/check to check all variables are ✅ OK.
  6. Open YOUR_WORKER.worker.dev/seed to save initial data.
  7. To enable Auto-Backup, first set values in bot management section, then Go to worker, Triggers tab, Cron Triggers section, and add cron trigger.
  8. Save and deploy worker and send a GET request to /webhook path to register webhook of your bot. make sure you see ok in response.

1

  1. Send message to bot with admin account and manage all you need.
  2. Done!

Buy Me a Coffee :

  • USDT (TRC20): TBHBELagtDq9c5cmz4HVjcRcKNiXkxr8Ub