mirror of https://github.com/openclaw/openclaw.git
fix(ci): guard optional discord reaction cleanup
This commit is contained in:
parent
78c390ea86
commit
702a200844
|
|
@ -943,7 +943,7 @@ export async function processDiscordMessage(
|
|||
}
|
||||
}
|
||||
} else if (shouldSendAckReaction && ackReaction && removeAckAfterReply) {
|
||||
void discordAdapter.removeReaction(ackReaction).catch((err) => {
|
||||
void discordAdapter.removeReaction?.(ackReaction)?.catch((err) => {
|
||||
logAckFailure({
|
||||
log: logVerbose,
|
||||
channel: "discord",
|
||||
|
|
|
|||
Loading…
Reference in New Issue