fix: allow elevated via discord username

This commit is contained in:
Peter Steinberger
2026-01-04 05:47:28 +00:00
parent d2da305190
commit 5e36e2c3f3
4 changed files with 9 additions and 1 deletions

View File

@@ -461,6 +461,8 @@ export async function monitorDiscordProvider(opts: MonitorDiscordOpts = {}) {
: `channel:${message.channelId}`,
ChatType: isDirectMessage ? "direct" : "group",
SenderName: message.member?.displayName ?? message.author.tag,
SenderUsername: message.author.username,
SenderTag: message.author.tag,
GroupSubject: groupSubject,
GroupRoom: groupRoom,
GroupSpace: isGuildMessage ? guildSlug || undefined : undefined,