Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

83 líneas
3.4 KiB

  1. # The log level of terminal (or container) output,
  2. # can be one of DEBUG, INFO, WARN and ERROR, in increasing order of importance and severity.
  3. #
  4. # This should be at INFO or DEBUG in order to get support for Draupnir problems.
  5. logLevel: "INFO"
  6. # Whether or not Draupnir should synchronize policy lists immediately after startup.
  7. # Equivalent to running '!draupnir sync'.
  8. syncOnStartup: true
  9. # Whether or not Draupnir should check moderation permissions in all protected rooms on startup.
  10. # Equivalent to running `!draupnir verify`.
  11. verifyPermissionsOnStartup: true
  12. # Whether Draupnir should check member lists quicker (by using a different endpoint),
  13. # keep in mind that enabling this will miss invited (but not joined) users.
  14. #
  15. # Turn on if your bot is in (very) large rooms, or in large amounts of rooms.
  16. fasterMembershipChecks: false
  17. # A case-insensitive list of ban reasons to have the bot also automatically redact the user's messages for.
  18. #
  19. # If the bot sees you ban a user with a reason that is an (exact case-insensitive) match to this list,
  20. # it will also remove the user's messages automatically.
  21. #
  22. # Typically this is useful to avoid having to give two commands to the bot.
  23. # Advanced: Use asterisks to have the reason match using "globs"
  24. # (f.e. "spam*testing" would match "spam for testing" as well as "spamtesting").
  25. #
  26. # See here for more info: https://www.digitalocean.com/community/tools/glob
  27. # Note: Keep in mind that glob is NOT regex!
  28. automaticallyRedactForReasons:
  29. - "spam"
  30. - "advertising"
  31. # Whether or not to add all joined rooms to the "protected rooms" list
  32. # (excluding the management room and watched policy list rooms, see below).
  33. #
  34. # Note that this effectively makes the protectedRooms and associated commands useless
  35. # for regular rooms.
  36. #
  37. # Note: the management room is *excluded* from this condition.
  38. # Explicitly add it as a protected room to protect it.
  39. #
  40. # Note: Ban list rooms the bot is watching but didn't create will not be protected.
  41. # Explicitly add these rooms as a protected room list if you want them protected.
  42. protectAllJoinedRooms: false
  43. # Increase this delay to have Draupnir wait longer between two consecutive backgrounded
  44. # operations. The total duration of operations will be longer, but the homeserver won't
  45. # be affected as much. Conversely, decrease this delay to have Draupnir chain operations
  46. # faster. The total duration of operations will generally be shorter, but the performance
  47. # of the homeserver may be more impacted.
  48. backgroundDelayMS: 500
  49. # Misc options for command handling and commands
  50. commands:
  51. # Whether or not the `!draupnir` prefix is necessary to submit commands.
  52. #
  53. # If `true`, will allow commands like `!ban`, `!help`, etc.
  54. #
  55. # Note: Draupnir can also be pinged by display name instead of having to use
  56. # the !draupnir prefix. For example, "my_moderator_bot: ban @spammer:example.org"
  57. # will address only my_moderator_bot.
  58. allowNoPrefix: false
  59. # Any additional bot prefixes that Draupnir will listen to. i.e. adding `mod` will allow `!mod help`.
  60. additionalPrefixes:
  61. - "draupnir-bot"
  62. - "draupnir_bot"
  63. - "draupnir"
  64. # Whether or not commands with a wildcard (*) will require an additional `--force` argument
  65. # in the command to be able to be submitted.
  66. confirmWildcardBan: true
  67. # The default reasons to be prompted with if the reason is missing from a ban command.
  68. ban:
  69. defaultReasons:
  70. - "spam"
  71. - "brigading"
  72. - "harassment"
  73. - "disagreement"