2023-04-17 20:28:29 +00:00
|
|
|
# Copy this file to config.ini and replace the values below to match your needs
|
|
|
|
#
|
|
|
|
# The values that are not commented have to be set, everything else comes with
|
|
|
|
# sensible defaults.
|
|
|
|
|
2023-05-25 12:41:32 +00:00
|
|
|
###############################################################################
|
|
|
|
|
2024-05-05 17:21:18 +00:00
|
|
|
[ReportBot]
|
2023-05-25 12:41:32 +00:00
|
|
|
|
|
|
|
# Some way for the user to contact you.
|
|
|
|
# Ideally, either your personal user ID or a support room
|
|
|
|
# If this is your user ID and Debug is 1, any errors that occur when using the script will be reported to you in detail
|
|
|
|
#
|
|
|
|
Operator = Contact details not set
|
|
|
|
|
2024-03-02 16:13:04 +00:00
|
|
|
# Minimum duration of a single loop
|
|
|
|
# By default, this is set to 300, meaning that rooms get updated approximately every 300 seconds, unless the total loop takes longer
|
|
|
|
#
|
|
|
|
# LoopDuration = 300
|
|
|
|
|
2023-05-25 12:41:32 +00:00
|
|
|
# Enable debug mode
|
|
|
|
# Will send error tracebacks to you (= Operator above) if an error occurs processing a message from you
|
|
|
|
# Defaults to 0 (= off)
|
|
|
|
#
|
|
|
|
# Debug = 1
|
|
|
|
|
|
|
|
# Display name for the bot
|
|
|
|
#
|
2024-05-05 17:21:18 +00:00
|
|
|
# DisplayName = ReportBot
|
2023-05-25 12:41:32 +00:00
|
|
|
|
|
|
|
# Minimum level of log messages that should be printed
|
|
|
|
# Available log levels in ascending order: trace, debug, info, warning, error, critical
|
|
|
|
# Defaults to info
|
|
|
|
#
|
|
|
|
LogLevel = info
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
2023-04-16 14:08:57 +00:00
|
|
|
[Matrix]
|
2023-04-17 20:28:29 +00:00
|
|
|
|
|
|
|
# The URL to your Matrix homeserver
|
|
|
|
#
|
2023-12-05 09:09:14 +00:00
|
|
|
# If you are using Pantalaimon, this should be the URL of your Pantalaimon
|
|
|
|
# instance, not the Matrix homeserver itself.
|
|
|
|
#
|
2023-04-16 14:08:57 +00:00
|
|
|
Homeserver = https://matrix.local
|
2023-04-17 20:28:29 +00:00
|
|
|
|
|
|
|
# An Access Token for the user your bot runs as
|
|
|
|
# Can be obtained using a request like this:
|
|
|
|
#
|
|
|
|
# See https://www.matrix.org/docs/guides/client-server-api#login
|
|
|
|
# for information on how to obtain this value
|
|
|
|
#
|
2023-04-16 14:08:57 +00:00
|
|
|
AccessToken = syt_yoursynapsetoken
|
2023-04-17 20:28:29 +00:00
|
|
|
|
2024-05-05 17:21:18 +00:00
|
|
|
# The room ID in which reports should be posted
|
|
|
|
#
|
|
|
|
RoomID = !yourroomid:matrix.local
|
|
|
|
|
2023-04-17 20:28:29 +00:00
|
|
|
# The Matrix user ID of the bot (@local:domain.tld)
|
|
|
|
# Only specify this if the bot fails to figure it out by itself
|
|
|
|
#
|
2024-03-02 14:31:14 +00:00
|
|
|
# UserID = @rssbot:matrix.local
|
2023-05-25 12:41:32 +00:00
|
|
|
|
2023-11-28 17:15:21 +00:00
|
|
|
###############################################################################
|