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-03-02 14:31:14 +00:00
|
|
|
[RSSBot]
|
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
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# The default room name used by the !newroom command
|
2024-03-02 14:31:14 +00:00
|
|
|
# Defaults to RSSBot if not set
|
2023-05-25 12:41:32 +00:00
|
|
|
#
|
2024-03-02 14:31:14 +00:00
|
|
|
# DefaultRoomName = RSSBot
|
2023-05-25 12:41:32 +00:00
|
|
|
|
|
|
|
# Display name for the bot
|
|
|
|
#
|
2024-03-02 14:31:14 +00:00
|
|
|
# DisplayName = RSSBot
|
2023-05-25 12:41:32 +00:00
|
|
|
|
|
|
|
# A list of allowed users
|
|
|
|
# If not defined, everyone is allowed to use the bot
|
|
|
|
# Use the "*:homeserver.matrix" syntax to allow everyone on a given homeserver
|
|
|
|
#
|
|
|
|
# AllowedUsers = ["*:matrix.local"]
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
# 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
|
|
|
###############################################################################
|