diff --git a/README.md b/README.md index 399af86..633f031 100755 --- a/README.md +++ b/README.md @@ -24,12 +24,15 @@ This script also requires you to install the following PIP packages: pip3 install python-whois pip3 install requests pip3 install pyAesCrypt +pip3 install matrix-nio ``` *** ## Upgrade user to 'server admin' +To use this moderation script you need an OAuth token of a "server admin" account. If you've just setup a Matrix server, you'll need to promote an account to server admin by altering your database. + https://github.com/matrix-org/synapse/tree/master/docs/admin_api “So first connect to the correct db and then run the UPDATE users...” @@ -44,11 +47,9 @@ UPDATE 1 synapse=# -‘-’ sign instead of ‘=’ means: +Note: A ‘-’ sign instead of ‘=’ means you didn't type a complete SQL query yet! -It means you didn't type a complete SQL query yet. - -You need a semicolon to terminate the command. +(You need a semicolon (;) at the end to terminate the command.) *** diff --git a/report_commands.py b/report_commands.py index c55deae..0993693 100644 --- a/report_commands.py +++ b/report_commands.py @@ -487,7 +487,7 @@ def test_send_incident_reports(): }, f"@pedobear:perthchat.org": { "!dummyid5:matrix.org": ["csam", "loli", "jailbait"], - "!dummyid6:matrix.org": ["csam", "hub_links"] + "!dummyid6:matrix.org": ["csam", "hublinks"] }, f"@randomcreep:perthchat.org": { "!dummyid7:matrix.org": ["csam", "jailbait"], @@ -495,7 +495,7 @@ def test_send_incident_reports(): }, f"@fatweeb:grin.hu": { "!dummyid9:matrix.org": ["csam", "loli"], - "!dummyid10:matrix.org": ["csam", "degen"] + "!dummyid10:matrix.org": ["csam", "degen_porn"] } }