reports-consumer-wordpress/base-config.yaml
2025-06-28 03:14:05 -07:00

25 lines
No EOL
700 B
YAML

# Command prefix to listen to
# DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
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:fiftyfiftyonearizona.org"
bar:
- "@reports:example.org"
- "@reports:example.com"
buzz:
aaa:
# 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
send_reaction: true