Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Projects
B.I.T.S. 4.0
bits-companion
Commits
c8247b24
Verified
Commit
c8247b24
authored
Oct 19, 2021
by
Mroik
Browse files
Admin chans from env
parent
72af8876
Changes
1
Show whitespace changes
Inline
Side-by-side
config.py
View file @
c8247b24
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment