hotdog/data/config.example.yaml

60 lines
1.7 KiB
YAML
Raw Normal View History

2020-11-12 23:45:58 +01:00
command_prefix: '!'
2020-11-01 16:31:37 +01:00
matrix:
# The full Matrix user ID of the bot account, @name:host
2020-11-12 23:45:58 +01:00
user_id: '@example:matrix.example.org'
password: 'You''ll never guess my super secret example password!'
2020-11-01 16:31:37 +01:00
# The URL of the homeserver to connect to.
2020-11-12 23:45:58 +01:00
homeserver_url: 'https://matrix.example.org'
2020-11-01 16:31:37 +01:00
# Optional, the session name for this bot instance, for identification only.
# session_name: 'bot on toast'
# The display name for the bot, used in chat rooms.
2020-11-12 23:45:58 +01:00
nick_name: 'HotDogBot'
2020-11-01 16:31:37 +01:00
storage:
# The path to a directory for internal bot storage
# containing encryption keys, sync tokens, etc.
2020-11-12 23:45:58 +01:00
store_path: '/data/store'
2020-11-01 16:31:37 +01:00
# Location info, optionally per room.
# This information can be used for language selection & formatting.
# Defaults will be merged onto the room specific config.
l6n:
default:
locale: 'de_DE.UTF-8'
timezone: 'Europe/Berlin'
rooms: []
# -
# id: '!roomid:matrix.example.org'
# name: '#hotdogbot:matrix.example.org'
postillon:
storage: '/data/postillon.sqlite'
covid:
storage: '/data/covid.sqlite'
ddf:
storage: '/data/ddf.csv'
feeder:
storage: '/data/feeder.sqlite'
feeds: []
# examplefeed:
2020-11-12 23:45:58 +01:00
# display: 'Example RSS Feed'
# url: 'https://www.example.org/feeds/rss.xml'
2020-11-01 16:31:37 +01:00
# rooms: ['!roomid:matrix.example.org']
# max_content_len: 666
2020-11-12 23:45:58 +01:00
# filter:
# title: 'Special'
# update_every: 'PT3H20M'
2020-11-01 16:31:37 +01:00
# Optional, development settings.
dev:
# If active is false, the bot will ignore all messages from the dev room.
# If active is true, the bot will ignore all messages except in the dev room.
active: false
# If a development room is set, all messages for that room will be filtered.
# A room is required if active is true.
room: '!roomid:matrix.example.org'