Add detection profiles system and normal profile #1

Merged
nex merged 2 commits from thetayloredman/dm-honeypot-bot:profiles into dev 2026-08-13 16:10:52 +00:00
Contributor

This PR replaces the conservative boolean with a set of 3 profiles. aggressive and conservative remain identical to the prior settings, while normal behaves like conservative but doesn't require the direct flag and still sends read receipts.

This PR replaces the `conservative` boolean with a set of 3 profiles. `aggressive` and `conservative` remain identical to the prior settings, while `normal` behaves like conservative but doesn't require the direct flag and still sends read receipts.
nex approved these changes 2026-08-13 15:57:18 +00:00
Dismissed
@ -23,1 +23,4 @@
class DetectionProfile:
def __init__(self, name: str):
self.send_receipts = name in ("normal", "aggressive")
Owner

if we're doing enum shaped things it might be worth making an explicit enum type for profiles

class DetectionProfileName(enum.Enum):
    AGGRESSIVE = "aggressive"
    NORMAL = "normal"
    CONSERVATIVE = "conservative"
if we're doing enum shaped things it might be worth making an explicit enum type for profiles ```py class DetectionProfileName(enum.Enum): AGGRESSIVE = "aggressive" NORMAL = "normal" CONSERVATIVE = "conservative" ```
thetayloredman marked this conversation as resolved
nex approved these changes 2026-08-13 16:10:30 +00:00
nex merged commit 33b503b410 into dev 2026-08-13 16:10:52 +00:00
thetayloredman deleted branch profiles 2026-08-13 16:11:09 +00:00
Sign in to join this conversation.
No reviewers
nex
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/dm-honeypot-bot!1
No description provided.