Fully functional and tested
This commit is contained in:
commit
8bd6ff6ba4
4 changed files with 128 additions and 0 deletions
33
base-config.yaml
Normal file
33
base-config.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Command prefix to listen to
|
||||
# DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
|
||||
command_prefix: report
|
||||
|
||||
# Whether or not the bot should pay attention to only specific state/territory designators
|
||||
# This bot will include the designator in the pushed notificaion if this is disabled,
|
||||
# or if the allowed_locations contains multiple strings
|
||||
allowed_locations_enabled: false
|
||||
allowed_locations:
|
||||
- arizona
|
||||
- california
|
||||
|
||||
# Which accounts should be paid attention to on a state/territory-by-state/territory basis.
|
||||
# If the state/territory is not in allowed_senders, then the bot will allow all senders
|
||||
# Otherwise only listed senders
|
||||
allowed_senders:
|
||||
foo:
|
||||
- "@reports:fiftyfiftyonerarizona.org"
|
||||
bar:
|
||||
- "@reports:example.org"
|
||||
- "@reports:example.com"
|
||||
|
||||
# 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: false
|
||||
server_username: "foo"
|
||||
server_password: "bar"
|
||||
|
||||
# If this bot should send a reaction to the message if the notification was successful
|
||||
send_reaction: true
|
Loading…
Add table
Add a link
Reference in a new issue