Telegram bot for sell subs from Remnawave
Telegram bot for sell subs from Remnawave
Telegram bot for selling and managing Remnawave subscriptions.
Installation, configuration, updates, and usage are covered in the documentation.
/sync admin command.The bot can show the same photo on the start menu and all its inline-keyboard sections.
Put your own JPEG or PNG in assets/menu.jpg and set this in .env:
MENU_PHOTO_PATH=/assets/menu.jpgThe supplied docker-compose.yaml mounts ./assets:/assets:ro. With an existing
Compose file, add that mount to the bot service. The file must be readable by the
container's UID 1000. For a non-Docker installation, use a local path such as
MENU_PHOTO_PATH=./assets/menu.jpg. Leave the value empty for text-only menus.
file_id./start for a new photo
menu. /connect also uses the configured photo, but does not replace the start pin./start, with or without a photo, sends and silently pins a new menu,
then unpins only previously tracked start menus from this bot in that chat.
Unrelated/manual pins are untouched. Pin state survives restart, and failed
unpins are retried on the next /start. If sending or pinning the new menu fails,
the old pin is not removed. Missing pin permissions do not block menu delivery
and are logged (groups require the appropriate bot administrator rights).Database migration 000006_add_menu_state is applied automatically on startup.
The pin replacement lock assumes one running polling instance per bot token.
No open issues yet, or sync has not completed.