buckler
buckler copied to clipboard
Telegram interface for basic configurations
In order to allow admins to configure Buckler Bot, basic Telegram-based interface should be provided.
Possible worklow:
- Calling
/admin@BucklerBot
- inline inside the needed Gorup or Channel will force Buckler to update list of admins for the channel using this method. The data should be saved inside newAdmins
table. - In direct messages with bot, every user can try to call
/config
command. The configurations process is started then.
Configuration process:
- Bot returns list of any defended groups, where the user is admin (or nothing)
- User choose the group, and asked to enter the language (mb as a keyboard wuth all languages - now en, ru)
- User is asked to choose number of captcha attempts (Default is 3)
Config is saved inside existing chats table.