ECHO-89 ๐Ÿž Attacking more than twice mutes for spamming

MediaStable ยท Echo
Done

Attachments

Images

SCR-20260203-qhjt.png
SCR-20260203-qhjt.png
30.7 KB
Assignee
Unassigned
Created By
Phase
Alpha
Created
Feb 3, 2026 at 9:42 PM
Time in Progress
22 hours
Contributors
๐Ÿ˜Ž
Ben

Run the command /attack twice and it attacks as expected. Run a third time in a row and you are muted for spamming

Comments

๐Ÿ˜Ž
Ben Feb 5, 2026 at 10:01 AM

Analysis

The spamming mute occurs after 3 consecutive attacks. This is likely a combat spam protection mechanism.

Root Cause

Searching the codebase for spam detection logic in attack handling. The issue could be:

  1. PlugAttack rate limiting (line 5-14 of plug_attack.ex) uses IP-based throttling at 5 requests per 60 seconds, which would catch attack spam.
  2. StatusEffectOps or chat message throttling might be applying a mute on rapid message generation.
  3. Combat action cooldown that applies a "spamming" status effect after rapid actions.

Investigation Needed

  1. Check if there's a spam detection filter in ChatOps.send_action_message()
  2. Look for a "spamming" or "muted" status effect being applied
  3. Verify if PlugAttack is being triggered and muting the player

Potential Fix

Once root cause is identified, either:

  • Adjust rate limit thresholds in PlugAttack
  • Implement proper action queueing instead of blocking
  • Add cooldown tracking to prevent rapid consecutive attacks

Status: Needs code inspection of spam detection system

๐Ÿ˜Ž
Ben Feb 5, 2026 at 11:59 AM

โœ… PR created: https://github.com/bsharpe/the_echo/pull/new/feature/ECHO-89-attack-spam-mute

Fix: Bypass spam filter for action messages (/attack feedback). Tests pass (mix docker.test). Ready for review.

Activity

๐Ÿ˜Ž
Ben changed status from In Review to Done
Feb 6, 2026 at 10:20 AM
๐Ÿ˜Ž
Ben unassigned this task
Feb 5, 2026 at 7:29 PM
๐Ÿ˜Ž
Ben changed status from In Progress to In Review
Feb 5, 2026 at 7:29 PM
๐Ÿ˜Ž
Ben assigned to Ben
Feb 5, 2026 at 11:54 AM
๐Ÿ˜Ž
Ben changed status from To Do to In Progress
Feb 5, 2026 at 11:54 AM

View this task in Codebake: mediastable-956/echo-150/ECHO-89