DJTommek / better-location

Telegram bot for parsing and generating various of location formats.
https://t.me/BetterLocationBot
MIT License
8 stars 2 forks source link

Settings template #145

Open DJTommek opened 1 month ago

DJTommek commented 1 month ago

If admin wants to setup multiple chats with specific settings at once, it must do these steps manually for each chat:

  1. add bot to the chat
  2. calling /settings command
  3. open settings website
  4. adjust all necessary settings (disable preview, change list of services, change list of buttons, set Pluginer URL)
  5. save

TODO

Create "Settings template" which will automatically set everything based on given template. Admin only.

  1. When bot is added to the chat, it should prompt that you can use one of templates, that admin set earlier. Eventually choose to use settings, that is used in admin's private message with bot.
  2. Change chat settings according template should be accessible any time, eg. via command or clickable button.
  3. Template and template list should be manageable. Eventually some templates could be pre-created, such as "minimalistic" with barely anything and "data lover" with everything enabled.