telebotter / django-telegrambot

Simple app for Telegram bot in Django
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link

Internal handling of bot settings / bot_data #10

Open lukruh opened 4 years ago

lukruh commented 4 years ago

The bot settings are read from projects settings.py and is used to register ptb bot objects in the apps.py. However the way the settings of the bot are handled may be inconsistent. BotData class, plain variables and the settings itself. Find a consistent way to handle the settings and the bots itself. When bots should be created from app settings this has to be changed anyway.