mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 01:01:23 +00:00
Discord: fix PK sender identity context
This commit is contained in:
@@ -67,7 +67,7 @@ export async function preflightDiscordMessage(
|
||||
}
|
||||
|
||||
const allowBots = params.discordConfig?.allowBots ?? false;
|
||||
if (author.bot && params.botUserId && author.id === params.botUserId) {
|
||||
if (params.botUserId && author.id === params.botUserId) {
|
||||
// Always ignore own messages to prevent self-reply loops
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user