Verified Commit c8247b24 authored by Mroik's avatar Mroik
Browse files

Admin chans from env

parent 72af8876
......@@ -6,5 +6,7 @@ PORT = int(environ.get("BITS_PORT", default=1883))
USERNAME = environ.get("BITS_USER")
PASSWORD = environ.get("BITS_PASSWORD", default="")
TG_KEY = environ.get("BITS_TG_KEY", default="")
ADMIN_CHANNELS = [] # Channels that are allowed to change HQ's status
for chan in environ.get("BITS_TG_GROUPS", default="").split(":"):
ADMIN_CHANNELS.append(chan)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment