Core Features
Subscription Management
Section titled “Subscription Management”Multiple Plans
Section titled “Multiple Plans”- 1 Month: Quick trial or short-term access
- 3 Months: Popular mid-term option
- 6 Months: Better value proposition
- 12 Months: Best value with highest discount
Automatic Notifications
Section titled “Automatic Notifications”- Runs daily at 16:00 UTC
- Notifies users 3 days before expiration
- Includes exact expiration date
- Provides convenient renewal button
- Multi-language support (Russian/English)
User Management
Section titled “User Management”Built-in Filtering
Section titled “Built-in Filtering”- Suspicious Account Detection: Prevents phishing accounts
- Whitelist Support: Bypass checks for trusted users
- Blacklist Support: Block specific users
- Service Account Recognition: Allow legitimate bots
Trial System
Section titled “Trial System”TRIAL_DAYS=7TRIAL_TRAFFIC_LIMIT=10TRIAL_REMNAWAVE_TAG=trial_user- Attract new users with free trial
- Limit traffic to prevent abuse
- Track trial users separately
- Optional separate squad assignment
Dynamic UI
Section titled “Dynamic UI”Buttons are shown/hidden based on configuration:
| Button | Required Variable | Use Case |
|---|---|---|
| Main Menu | Always shown | Navigation |
| Purchase | Always shown | Buy subscription |
| Connect | Always shown | Get VPN config |
| Server Status | SERVER_STATUS_URL | System health |
| Support | SUPPORT_URL | Get help |
| Feedback | FEEDBACK_URL | Send feedback |
| Channel | CHANNEL_URL | Community |
| TOS | TOS_URL | Legal info |
Multi-language Support
Section titled “Multi-language Support”Supported languages:
- Russian (default)
- English
DEFAULT_LANGUAGE=ruAll messages customizable via translation files in translations/ folder.
Health Checks
Section titled “Health Checks”The bot provides monitoring endpoints:
curl http://your-bot:8080/healthcheckChecks:
- Database connectivity
- Remnawave panel availability
- Bot service status
- API key validity
Admin Commands
Section titled “Admin Commands”/sync - Synchronize users from RemnawaveFetches all users from panel and updates database, removing any users no longer present in Remnawave.
Squad Management
Section titled “Squad Management”Internal Squads
Section titled “Internal Squads”- Control which connection methods users access
- Multiple squads per user supported
- Independent configuration for trials
External Squads
Section titled “External Squads”- Single squad UUID
- Included in all user operations
- Optional assignment
Traffic Management
Section titled “Traffic Management”TRAFFIC_LIMIT=100TRIAL_TRAFFIC_LIMIT=10- Set traffic limit per subscription
- Separate limits for regular and trial users
- 0 = unlimited traffic
Referral System (Optional)
Section titled “Referral System (Optional)”REFERRAL_DAYS=30- Track user referrals
- Disabled if set to 0