From cf8673aba2490b48bbea26367f235be477f0dfe8 Mon Sep 17 00:00:00 2001 From: David Crompton Date: Mon, 13 Apr 2026 20:30:31 -0400 Subject: [PATCH] hippocampus: matrix: Discord bot fix --- machines/hippocampus/servers/public/matrix/bots/discord.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/hippocampus/servers/public/matrix/bots/discord.nix b/machines/hippocampus/servers/public/matrix/bots/discord.nix index 332f57f..ff33326 100644 --- a/machines/hippocampus/servers/public/matrix/bots/discord.nix +++ b/machines/hippocampus/servers/public/matrix/bots/discord.nix @@ -73,7 +73,7 @@ in { # .System - Whether the user is an official system user # .Webhook - Whether the user is a webhook and is not an application # .Application - Whether the user is an application - displayname_template = "{{if .Webhook}}Webhook{{else}}{{or .GlobalName .Username}}{{if .Bot}} (bot){{end}}{{end}}"; + displayname_template = "{{if .Webhook}}Webhook{{else}}{{or .GlobalName .Username}}{{if .Bot}} (bot){{end}}{{end}} (Discord DM)"; # Displayname template for Discord channels (bridged as rooms, or spaces when type=4). # Available variables: # .Name - Channel name, or user displayname (pre-formatted with displayname_template) in DMs. @@ -202,7 +202,7 @@ in { # instead of users having to find an access token and run `login-matrix` # manually. login_shared_secret_map = { - "glia.club" = "$MAUTRIX_DISCORD_DOUBLE_PUPPET"; + "glia.club" = "as_token:$MAUTRIX_DISCORD_DOUBLE_PUPPET"; }; # The prefix for commands. Only required in non-management rooms.