From dfbffd1342b64f11a3f76be9da9fc748f8b7bdf3 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 12 Oct 2025 10:03:06 +0800 Subject: [PATCH] VcNarrator: make nickname fallback to displayName instead of username (#3564) --- src/plugins/vcNarrator/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/vcNarrator/index.tsx b/src/plugins/vcNarrator/index.tsx index d52f83a0..5ecdc03b 100644 --- a/src/plugins/vcNarrator/index.tsx +++ b/src/plugins/vcNarrator/index.tsx @@ -181,7 +181,7 @@ export default definePlugin({ const template = settings.store[type + "Message"]; const user = isMe && !settings.store.sayOwnName ? "" : UserStore.getUser(userId).username; const displayName = user && ((UserStore.getUser(userId) as any).globalName ?? user); - const nickname = user && (GuildMemberStore.getNick(myGuildId!, userId) ?? user); + const nickname = user && (GuildMemberStore.getNick(myGuildId!, userId) ?? displayName); const channel = ChannelStore.getChannel(id).name; speak(formatText(template, user, channel, displayName, nickname));