fix: allow elevated via discord username

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

No files matched your search

+2
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,