fix(api): use webhook ID for mention author (#2045)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-27 17:01:26 +02:00
1 parent 4a34b942b7
commit 89fac5b088
1 file changed
+1 -1
@@ -1191,7 +1191,7 @@ export class MessageSendService {
await this.deps.mentionService.handleMentionTasks({ await this.deps.mentionService.handleMentionTasks({
guildId: channel.guildId, guildId: channel.guildId,
message, message,
authorId: createUserID(0n), authorId: createUserID(BigInt(webhook.id)),
mentionHere: mentionData?.mentionHere ?? false, mentionHere: mentionData?.mentionHere ?? false,
}); });
await this.deps.dispatchService.dispatchMessageCreate({ await this.deps.dispatchService.dispatchMessageCreate({