Skip to content

Commit

Permalink
Make support_channel configurable via MOTTOBOTTO_SUPPORT_CHANNEL
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrss committed Aug 17, 2023
1 parent 849e347 commit dba645a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions botto/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ def parse(config):
if maintainer_ids := decode_base64_env("MOTTOBOTTO_MAINTAINER_IDS"):
defaults["maintainer_ids"] = maintainer_ids

if support_channel := os.getenv("MOTTOBOTTO_SUPPORT_CHANNEL"):
defaults["support_channel"] = support_channel

if random_source_view := os.getenv("MOTTOBOTTO_RANDOM_MOTTO_SOURCE_VIEW"):
defaults["random_source_view"] = random_source_view

Expand Down

0 comments on commit dba645a

Please sign in to comment.