jjj333-p / spam-police

A matrix bot to monitor and respond to investment scam spamming across the matrix platform, for example in rooms with a permanently offline admin.
GNU Affero General Public License v3.0
21 stars 8 forks source link

Switch to YAML configuration + authorized_users key #26

Closed archeite closed 1 year ago

archeite commented 1 year ago

Warning This pull request will break existing instances (if updated)

To fix your instance, you will have to go though the self-hosting instructions again.

The configuration file is now in YAML format. In addition, this PR also adds the authorizedUsers variable, which is a list / array of users that can use admin commands.