config.dist.ini 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. # Enable debug mode
  13. # Will send error tracebacks to you (= Operator above) if an error occurs processing a message from you
  14. # Defaults to 0 (= off)
  15. #
  16. # Debug = 1
  17. # The default room name used by the !newroom command
  18. # Defaults to RSSBot if not set
  19. #
  20. # DefaultRoomName = RSSBot
  21. # Display name for the bot
  22. #
  23. # DisplayName = RSSBot
  24. # A list of allowed users
  25. # If not defined, everyone is allowed to use the bot
  26. # Use the "*:homeserver.matrix" syntax to allow everyone on a given homeserver
  27. #
  28. # AllowedUsers = ["*:matrix.local"]
  29. # Minimum level of log messages that should be printed
  30. # Available log levels in ascending order: trace, debug, info, warning, error, critical
  31. # Defaults to info
  32. #
  33. LogLevel = info
  34. ###############################################################################
  35. [Matrix]
  36. # The URL to your Matrix homeserver
  37. #
  38. # If you are using Pantalaimon, this should be the URL of your Pantalaimon
  39. # instance, not the Matrix homeserver itself.
  40. #
  41. Homeserver = https://matrix.local
  42. # An Access Token for the user your bot runs as
  43. # Can be obtained using a request like this:
  44. #
  45. # See https://www.matrix.org/docs/guides/client-server-api#login
  46. # for information on how to obtain this value
  47. #
  48. AccessToken = syt_yoursynapsetoken
  49. # The Matrix user ID of the bot (@local:domain.tld)
  50. # Only specify this if the bot fails to figure it out by itself
  51. #
  52. # UserID = @rssbot:matrix.local
  53. ###############################################################################