Add detection profiles system and normal profile #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "thetayloredman/dm-honeypot-bot:profiles"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR replaces the
conservativeboolean with a set of 3 profiles.aggressiveandconservativeremain identical to the prior settings, whilenormalbehaves like conservative but doesn't require the direct flag and still sends read receipts.@ -23,1 +23,4 @@class DetectionProfile:def __init__(self, name: str):self.send_receipts = name in ("normal", "aggressive")if we're doing enum shaped things it might be worth making an explicit enum type for profiles