chore: fix lint warnings

This commit is contained in:
Peter Steinberger
2026-01-06 05:41:05 +01:00
parent 77789cb9a8
commit ea6ee16461
4 changed files with 25 additions and 15 deletions

View File

@@ -61,7 +61,7 @@ export function applyMessageDefaults(cfg: ClawdbotConfig): ClawdbotConfig {
if (hasAckReaction && hasAckScope) return cfg;
const fallbackEmoji = cfg.identity?.emoji?.trim() || "👀";
const nextMessages = { ...(messages ?? {}) };
const nextMessages = messages ? { ...messages } : {};
let mutated = false;
if (!hasAckReaction) {