config.dist.ini 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. [ReportBot]
  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. # Display name for the bot
  22. #
  23. # DisplayName = ReportBot
  24. # Minimum level of log messages that should be printed
  25. # Available log levels in ascending order: trace, debug, info, warning, error, critical
  26. # Defaults to info
  27. #
  28. LogLevel = info
  29. ###############################################################################
  30. [Matrix]
  31. # The URL to your Matrix homeserver
  32. #
  33. # If you are using Pantalaimon, this should be the URL of your Pantalaimon
  34. # instance, not the Matrix homeserver itself.
  35. #
  36. Homeserver = https://matrix.local
  37. # An Access Token for the user your bot runs as
  38. # Can be obtained using a request like this:
  39. #
  40. # See https://www.matrix.org/docs/guides/client-server-api#login
  41. # for information on how to obtain this value
  42. #
  43. AccessToken = syt_yoursynapsetoken
  44. # The room ID in which reports should be posted
  45. #
  46. RoomID = !yourroomid:matrix.local
  47. # The Matrix user ID of the bot (@local:domain.tld)
  48. # Only specify this if the bot fails to figure it out by itself
  49. #
  50. # UserID = @rssbot:matrix.local
  51. ###############################################################################