diff --git a/bot.py b/bot.py index 2592e5a..809a9e3 100644 --- a/bot.py +++ b/bot.py @@ -61,7 +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 +# TODO: change usernames in message_handlers to id ALLOWED_USERS = json.loads(os.environ['ALLOWED_USERS']) bot = Bot(token=API_BOT_TOKEN) diff --git a/example.env b/example.env index 3e85e37..866f690 100644 --- a/example.env +++ b/example.env @@ -10,5 +10,5 @@ SD_PORT = '7861' SD_USERNAME = 'user' SD_PASSWORD = '1234' DEBUG = 'no' # 'yes' to debug -# TODO: change usarnames to id +# TODO: change usernames to id ALLOWED_USERS = '["username1", "username2", "usernameN"]' \ No newline at end of file