mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 11:14:23 +00:00
22 lines
599 B
Python
22 lines
599 B
Python
from core.definition import MainModel, dataclass
|
|
|
|
@dataclass
|
|
class ModConfModel(MainModel):
|
|
reputation: int = 0
|
|
reputation_timer: int = 1
|
|
reputation_seuil: int = 26
|
|
reputation_score_after_release: int = 27
|
|
reputation_ban_all_chan: int = 0
|
|
reputation_sg: int = 1
|
|
local_scan: int = 0
|
|
psutil_scan: int = 0
|
|
abuseipdb_scan: int = 0
|
|
freeipapi_scan: int = 0
|
|
cloudfilt_scan: int = 0
|
|
flood: int = 0
|
|
flood_message: int = 5
|
|
flood_time: int = 1
|
|
flood_timer: int = 20
|
|
autolimit: int = 0
|
|
autolimit_amount: int = 3
|
|
autolimit_interval: int = 3 |