# Sigyn

**Category:** Standalone_Bot
**Original Author:** Nicolas Coevoet

## Description
Sigyn is a Limnoria (a Python IRCd) plugin designed to handle various spam and abuse issues by automatically detecting patterns, klines, and kills based on configurable thresholds. It operates in an unattended mode, monitoring channels for abusive behavior and taking corrective actions when necessary.

## Key Features
- **Pattern Detection:** Automatically detects repeated messages or patterns that exceed specified limits.
- **Kline Management:** Klines users who repeatedly violate the configured rules.
- **Kill Actions:** Kills (disconnects) users based on detected abuse.
- **Oper Mode:** Attempts to oper using provided credentials.
- **Network Monitoring:** Monitors network lags and adjusts flood detection thresholds accordingly.

## File Analysis
- **__init__.py** — Initializes the plugin, setting up necessary imports and configurations.
- **config.py** — Configures various settings for the plugin, including kline durations, ignore channels/users, and more.
- **plugin.py** — Contains core logic for pattern detection, klining, killing, and other actions. Manages IRCd state and queues.
- **test.py** — Provides test cases for the Sigyn plugin.