mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-22 06:32:00 +00:00
fix(ci): restore discord reaction account context
This commit is contained in:
@@ -114,7 +114,9 @@ export async function handleDiscordMessagingAction(
|
||||
cfg,
|
||||
accountId: accountId ?? "default",
|
||||
})
|
||||
: undefined;
|
||||
: accountId
|
||||
? { accountId }
|
||||
: undefined;
|
||||
const withReactionRuntimeOptions = <T extends Record<string, unknown>>(extra?: T) => ({
|
||||
...(reactionRuntimeOptions ?? cfgOptions),
|
||||
...(extra ?? {}),
|
||||
|
||||
@@ -940,7 +940,10 @@ export async function processDiscordMessage(
|
||||
}
|
||||
}
|
||||
} else if (shouldSendAckReaction && ackReaction && removeAckAfterReply) {
|
||||
void discordAdapter.removeReaction?.(ackReaction)?.catch((err) => {
|
||||
void removeReactionDiscord(messageChannelId, message.id, ackReaction, {
|
||||
rest: discordRest,
|
||||
accountId,
|
||||
}).catch((err) => {
|
||||
logAckFailure({
|
||||
log: logVerbose,
|
||||
channel: "discord",
|
||||
|
||||
Reference in New Issue
Block a user