update todo

This commit is contained in:
vladus 2024-02-09 20:09:30 +03:00
parent ba2e25d066
commit e0f05384a2
2 changed files with 2 additions and 0 deletions

1
bot.py
View File

@ -61,6 +61,7 @@ OK_APPLICATION_KEY = os.getenv('OK_APPLICATION_KEY')
OK_APPLICATION_SECRET_KEY = os.getenv('OK_APPLICATION_SECRET_KEY')
OK_GROUP_ID = os.getenv('OK_GROUP_ID')
ARRAY_INLINE = []
# TODO: change username in message_handlers to id
ALLOWED_USERS = json.loads(os.environ['ALLOWED_USERS'])
bot = Bot(token=API_BOT_TOKEN)

View File

@ -10,4 +10,5 @@ SD_PORT = '7861'
SD_USERNAME = 'user'
SD_PASSWORD = '1234'
DEBUG = 'no' # 'yes' to debug
# TODO: change usarnames to id
ALLOWED_USERS = '["username1", "username2", "usernameN"]'