You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feb 09 23:51:02 redbot python[219895]: [2025-02-09 23:51:02] [WARNING] red.x26cogs.defender: Unexpected error in RaiderDetection
Feb 09 23:51:02 redbot python[219895]: Traceback (most recent call last):
Feb 09 23:51:02 redbot python[219895]: File "/home/redbot/.local/share/Red-DiscordBot/data/ninjabot/cogs/CogManager/cogs/defender/core/events.py", line 127, in on_me>
Feb 09 23:51:02 redbot python[219895]: expelled = await self.detect_raider(message)
Feb 09 23:51:02 redbot python[219895]: File "/home/redbot/.local/share/Red-DiscordBot/data/ninjabot/cogs/CogManager/cogs/defender/core/automodules.py", line 257, in >
Feb 09 23:51:02 redbot python[219895]: await self.create_modlog_case(
Feb 09 23:51:02 redbot python[219895]: File "/home/redbot/.local/share/Red-DiscordBot/data/ninjabot/cogs/CogManager/cogs/defender/defender.py", line 669, in create_m>
Feb 09 23:51:02 redbot python[219895]: await modlog.create_case(
Feb 09 23:51:02 redbot python[219895]: File "/home/redbot/redenv/lib/python3.10/site-packages/redbot/core/modlog.py", line 985, in create_case
Feb 09 23:51:02 redbot python[219895]: raise ValueError(f"{action_type} is not a valid action type.")
Feb 09 23:51:02 redbot python[219895]: ValueError: punish is not a valid action type.
To Reproduce
Steps to reproduce the behavior:
Issue command '!dset rd action punish'
Raiderdetection gets triggered by spammer
See error
Expected behavior
User should be punished as expected
This was on Red 3.5.15, but all cogs were up-to-date. Have since updated to 3.5.16, but haven't had a spammer trigger RD yet.
The text was updated successfully, but these errors were encountered:
Cog
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
User should be punished as expected
This was on Red 3.5.15, but all cogs were up-to-date. Have since updated to 3.5.16, but haven't had a spammer trigger RD yet.
The text was updated successfully, but these errors were encountered: