From a66d9c57650e24c3d4a73f26e5d66be5eda74023 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 11 Jul 2021 12:29:05 +0200 Subject: [PATCH] bundles/mx-puppet-discord: add (Discord) to room and user names --- bundles/mx-puppet-discord/files/config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/mx-puppet-discord/files/config.yaml b/bundles/mx-puppet-discord/files/config.yaml index a93c889..6be98d2 100644 --- a/bundles/mx-puppet-discord/files/config.yaml +++ b/bundles/mx-puppet-discord/files/config.yaml @@ -16,6 +16,12 @@ provisioning: - "${regex}" % endfor +namePatterns: + user: ":name (Discord)" + userOverride: ":displayname (Discord)" + room: "#:name (Discord - :guild)" + group: ":name" + database: connString: "postgres://${node.metadata['mx-puppet-discord']['database']['user']}:${node.metadata['mx-puppet-discord']['database']['password']}@${node.metadata['mx-puppet-discord']['database'].get('host', 'localhost')}/${node.metadata['mx-puppet-discord']['database']['database']}?sslmode=disable"