mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(api): use webhook ID for mention author (#2045)
This commit is contained in:
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({
|
||||||
|
|||||||
Reference in new issue
Block a user