fix: address review feedback for ReactionCog

- Use time.monotonic() at reaction time instead of stale message-receive timestamp
- Add excluded_channels config and filtering
- Truncate message content to 500 chars in pick_reaction

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 11:28:20 -05:00
parent a8e8b63f5e
commit 97e5738a2f
3 changed files with 12 additions and 4 deletions
+1
View File
@@ -166,3 +166,4 @@ reactions:
enabled: true
chance: 0.15 # Probability of evaluating a message for reaction
cooldown_seconds: 45 # Per-channel cooldown between reactions
excluded_channels: [] # Channel names or IDs to skip reactions in