mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-18 04:04:27 +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