#
# Someone's Mattermost scripts.
#   published under MIT-License
#   written 2016-2020 by Someone <someone@somenet.org> (aka. Jan Vales <jan@jvales.net>)
#
# Config file.
#   mv to config.py.examle config.py + edit.
#
# consider running as cronjob
#   0 * * * *  (cd /home/someone/mattermost/management; python3 -u account_handling.py)
#

# sysadmin-bot
mm_api_url = "http://localhost:8065/api"
mm_user = "..."
mm_user_pw = "..."

# The allowed email addresses for user accounts.
allowed_emails_regex = r".*@(.*tld|tld2|tld3)$"

# The team-ids guests are joined/confined into.
guest_team_ids = {"..."}

# The channel-ids guests are joined/confined into.
guest_channels = {"..."}