matrix-moderation-tool/hardcoded_variables.py

23 lines
1.2 KiB
Python

###########################################################################
# These values can be hard coded for easier usage: #
homeserver_url = "matrix.example.org" # Your homeserver URL
base_url = "example.org" # Your base URL (appears in usernames)
access_token = "" # Your homeserver admin access token
# ipinfo.io token
ipinfo_token = "" # Leave blank to disable ipinfo.io lookups
# rdlist specific
rdlist_bot_username = "mod_team" # The username to perform automated room shutdowns
rdlist_recommended_tags = ['hub_room_links', 'hub_room_trade', 'preban', 'degen_misc', 'beastiality', 'degen_porn', 'gore', 'snuff', 'degen_larp', 'hub_room_sussy', 'bot_spam', 'cfm', 'jailbait', 'bot_porn', 'toddlercon', 'loli', 'csam', 'tfm', 'degen_meet', 'stylized_3d_loli', '3d_loli']
# User report generator
report_folder = "./reports" # Reports folder name
testing_mode = True # For testing this report generator, set this to True
# Incident report email settings
smtp_user = "abuse@matrix.example.org"
smtp_password = "strong-stmp-password"
smtp_server = "smtp.provider.org"
smtp_port = 587
report_return_email = "youradminemail@example.org"
###########################################################################