mirror of
https://github.com/PC-Admin/matrix-moderation-tool.git
synced 2024-12-19 07:00:27 -05:00
26 lines
1.6 KiB
Python
26 lines
1.6 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_dir = "~/rdlist" # The directory where rdlist is pulled to
|
|
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"
|
|
incident_report_return_mxid = "@yourmxid:example.com"
|
|
###########################################################################
|
|
|