config.dist.ini 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Copy this file to config.ini and replace the values below to match your needs
  2. #
  3. # The values that are not commented have to be set, everything else comes with
  4. # sensible defaults.
  5. ###############################################################################
  6. [RSSBot]
  7. # Some way for the user to contact you.
  8. # Ideally, either your personal user ID or a support room
  9. # 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
  10. #
  11. Operator = Contact details not set
  12. # Minimum duration of a single loop
  13. # By default, this is set to 300, meaning that rooms get updated approximately every 300 seconds, unless the total loop takes longer
  14. #
  15. # LoopDuration = 300
  16. # Enable debug mode
  17. # Will send error tracebacks to you (= Operator above) if an error occurs processing a message from you
  18. # Defaults to 0 (= off)
  19. #
  20. # Debug = 1
  21. # The default room name used by the !newroom command
  22. # Defaults to RSSBot if not set
  23. #
  24. # DefaultRoomName = RSSBot
  25. # Display name for the bot
  26. #
  27. # DisplayName = RSSBot
  28. # A list of allowed users
  29. # If not defined, everyone is allowed to use the bot
  30. # Use the "*:homeserver.matrix" syntax to allow everyone on a given homeserver
  31. #
  32. # AllowedUsers = ["*:matrix.local"]
  33. # Minimum level of log messages that should be printed
  34. # Available log levels in ascending order: trace, debug, info, warning, error, critical
  35. # Defaults to info
  36. #
  37. LogLevel = info
  38. ###############################################################################
  39. [Matrix]
  40. # The URL to your Matrix homeserver
  41. #
  42. # If you are using Pantalaimon, this should be the URL of your Pantalaimon
  43. # instance, not the Matrix homeserver itself.
  44. #
  45. Homeserver = https://matrix.local
  46. # An Access Token for the user your bot runs as
  47. # Can be obtained using a request like this:
  48. #
  49. # See https://www.matrix.org/docs/guides/client-server-api#login
  50. # for information on how to obtain this value
  51. #
  52. AccessToken = syt_yoursynapsetoken
  53. # The Matrix user ID of the bot (@local:domain.tld)
  54. # Only specify this if the bot fails to figure it out by itself
  55. #
  56. # UserID = @rssbot:matrix.local
  57. ###############################################################################