Browse Source

Merge pull request #2534 from FSG-Cat/draupnir

Resolve Draupnir regression caused in #2508
pull/2535/head
Slavi Pantaleev 3 years ago
committed by GitHub
parent
commit
2e2691e96b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      roles/custom/matrix-bot-draupnir/templates/production.yaml.j2

+ 5
- 4
roles/custom/matrix-bot-draupnir/templates/production.yaml.j2 View File

@@ -36,7 +36,7 @@ autojoinOnlyIfManager: true


# If `autojoinOnlyIfManager` is false, only the members in this space can invite # If `autojoinOnlyIfManager` is false, only the members in this space can invite
# the bot to new rooms. # the bot to new rooms.
acceptInvitesFromSpace: "!example:example.org"
#acceptInvitesFromSpace: "!example:example.org"


# Whether Draupnir should report ignored invites to the management room (if autojoinOnlyIfManager is true). # Whether Draupnir should report ignored invites to the management room (if autojoinOnlyIfManager is true).
recordIgnoredInvites: false recordIgnoredInvites: false
@@ -49,11 +49,11 @@ recordIgnoredInvites: false
# #
# Note: By default, Draupnir is fairly verbose - expect a lot of messages in this room. # Note: By default, Draupnir is fairly verbose - expect a lot of messages in this room.
# (see verboseLogging to adjust this a bit.) # (see verboseLogging to adjust this a bit.)
managementRoom: "#moderators:example.org"
managementRoom: "{{ matrix_bot_draupnir_management_room }}"


# Whether Draupnir should log a lot more messages in the room, # Whether Draupnir should log a lot more messages in the room,
# mainly involves "all-OK" messages, and debugging messages for when Draupnir checks bans in a room. # mainly involves "all-OK" messages, and debugging messages for when Draupnir checks bans in a room.
verboseLogging: true
verboseLogging: false


# The log level of terminal (or container) output, # The log level of terminal (or container) output,
# can be one of DEBUG, INFO, WARN and ERROR, in increasing order of importance and severity. # can be one of DEBUG, INFO, WARN and ERROR, in increasing order of importance and severity.
@@ -130,7 +130,7 @@ admin:
# (with enough permissions) to "make" a user an admin. # (with enough permissions) to "make" a user an admin.
# #
# This only works if a local user with enough admin permissions is present in the room. # This only works if a local user with enough admin permissions is present in the room.
enableMakeRoomAdminCommand: true
enableMakeRoomAdminCommand: false


# Misc options for command handling and commands # Misc options for command handling and commands
commands: commands:
@@ -146,6 +146,7 @@ commands:
# Any additional bot prefixes that Draupnir will listen to. i.e. adding `mod` will allow `!mod help`. # Any additional bot prefixes that Draupnir will listen to. i.e. adding `mod` will allow `!mod help`.
additionalPrefixes: additionalPrefixes:
- "draupnir-bot" - "draupnir-bot"
- "draupnir_bot"
- "draupnir" - "draupnir"


# Whether or not commands with a wildcard (*) will require an additional `--force` argument # Whether or not commands with a wildcard (*) will require an additional `--force` argument


Loading…
Cancel
Save