37 lines
No EOL
1.3 KiB
YAML
37 lines
No EOL
1.3 KiB
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.
|
|
# 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:
|
|
|
|
# Bot-specific configurations per region
|
|
# Code will assume no authentication if either username or password are missing.
|
|
# Use __global__ to specify an endpoint for all regions.
|
|
# Code will push to both __global__ and region-specific endpoint.
|
|
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
|
|
username: "no"
|
|
password: "way"
|
|
|
|
# If this bot should send a reaction to the message
|
|
# Will send 👍 on successful POST to NTFY, and 👎 on failiure.
|
|
# Failiure to post to either the region specific, or __global__ endpoint is
|
|
# considered complete failiure.
|
|
send_reaction: true |