3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-04-21 08:05:57 +00:00

Update Draupnir from v2.9.0 to v3.0.0 (#5110)

This commit is contained in:
Catalan Lover
2026-04-02 21:30:13 +02:00
committed by GitHub
parent 0e4a4b0bf8
commit 09bf24ade8
8 changed files with 60 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
{#
SPDX-FileCopyrightText: 2024 MDAD project contributors
SPDX-FileCopyrightText: 2024 - 2025 Catalan Lover <catalanlover@protonmail.com>
SPDX-FileCopyrightText: 2024 - 2026 Catalan Lover <catalanlover@protonmail.com>
SPDX-FileCopyrightText: 2024 Suguru Hirahara
SPDX-License-Identifier: AGPL-3.0-or-later
@@ -28,5 +28,15 @@ webAPI:
# The directory the bot should store various bits of information in
dataPath: "/data"
# Maximum number of bots each user can provision.
# Defaults to 1 when omitted.
maxDraupnirsPerUser: 1
# Allow users to self-provision by inviting the appservice bot.
# When false, provisioning must be done through admin commands.
# Defaults to false when omitted.
allowSelfServiceProvisioning: false
roomStateBackingStore:
enabled: {{ matrix_appservice_draupnir_for_all_config_roomStateBackingStore_enabled | to_json }}

View File

@@ -1,6 +1,6 @@
{#
SPDX-FileCopyrightText: 2024 MDAD project contributors
SPDX-FileCopyrightText: 2024 - 2025 Catalan Lover <catalanlover@protonmail.com>
SPDX-FileCopyrightText: 2024 - 2026 Catalan Lover <catalanlover@protonmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
@@ -61,6 +61,14 @@ commands:
# will address only my_moderator_bot.
allowNoPrefix: false
# Controls which symbol will prefix a secondary prefix that is described in additionalPrefixes.
# For example the `!` in `!draupnir`.
# If you wish the bot to use "slash commands" with the "/" character instead of the exclamation mark "!" change the value to `"/"` and the bot will start responding to slash commands.
symbolPrefixes:
- "!"
# Any additional bot prefixes that Draupnir will listen to. i.e. adding `mod` will allow `!mod help`.
additionalPrefixes:
- "draupnir-bot"