matrix-moderation-tool/hardcoded_variables.py

25 lines
1.5 KiB
Python
Raw Normal View History

2023-07-09 16:59:30 -04:00
###########################################################################
# 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
2023-07-09 16:59:30 -04:00
# rdlist specific
rdlist_bot_username = "mod_team" # The username to perform automated room shutdowns
rdlist_bot_username = "strong-password" # The password for this user
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 = False # Prevents the incident report feature from messaging/emailing anyone besides you, also limits the number of room states are exported when generating user reports.
# Incident report email settings
smtp_user = "abuse@matrix.example.org"
smtp_password = "strong-stmp-password"
smtp_server = "smtp.provider.org"
smtp_port = 587
incident_report_return_email = "youradminemail@example.org"
2023-07-30 21:26:47 -04:00
incident_report_return_mxid = "@yourmxid:example.com"
2023-07-09 16:59:30 -04:00
###########################################################################