Wordpress consumer

This commit is contained in:
Ben 2025-06-28 03:14:05 -07:00
parent 24f6f25506
commit 2b6dafbd37
4 changed files with 35 additions and 59 deletions

View file

@ -5,25 +5,20 @@ command_prefix: report
# Which regions the bot should pay attention to
# Additionally, optionally whitelist specific accounts for each region
allowed_regions:
__global__:
- "@reports:fiftyfiftyonearizona.org"
foo:
- "@reports:fiftyfiftyonerarizona.org"
- "@reports:fiftyfiftyonearizona.org"
bar:
- "@reports:example.org"
- "@reports:example.com"
buzz:
aaa:
# Bot-specific configurations per region
region_configs:
arizona:
# Where and how the plugin will send the data to
server_url: "https://ntfy.sh"
server_topic: "changeme"
# If the plugin should use a username and password to send notifications
server_use_authentication: true
server_username: "no"
server_password: "way"
# Bot-specific configurations
api_url: "https://example.org/wp-json/wp/v2/yourposttype"
api_user: "youruser"
api_token: "your token"
# If this bot should send a reaction to the message
# if the notification was successful