reports-consumer-rss/base-config.yaml
2025-07-13 17:27:23 -07:00

33 lines
No EOL
1 KiB
YAML

# Command prefix to listen to
# DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
command_prefix: report
# Feed URL
# This should point to a helpful page about the feeds. Required for RSS to function
feed_url: "https://example.org"
# Which regions the bot should pay attention to.
# Pass through empty list to allow all senders for a region.
# Add a list of MatrixIDs to whitelist senders for a region.
# Use __global__ to refer to all regions.
# Code looks to see if a sender is allowed for either a specific region or __global__.
allowed_regions:
foo:
- "@reports:fiftyfiftyonerarizona.org"
bar:
- "@reports:example.org"
- "@reports:example.com"
buzz:
aaa:
# List of regions to serve feeds to.
# YOU MUST SPECIFY EVERY REGION.
# __global__ is a global feed, not serving feeds for all regions.
serve_regions:
- "__global__"
- "Arizona"
- "California"
# If this bot should send a reaction to the message.
# Will send 👍 on successful storage in database, and 👎 on failiure.
send_reaction: true