mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-07 23:31:07 +00:00
fix(ci): guard optional discord reaction cleanup
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user