Add
AI-generatedSummary
Add a new spamfilter to the UnrealIRCd server by specifying a regex pattern to match, the target where the filter applies, and the action to take when a message matches the filter.
Inputs
- Match Pattern (required) — The regex pattern to match against messages or content to filter.
- Target (required) — Specifies where to apply the spamfilter, such as 'channel' or 'private'.
- Action (required) — The action to perform when a message matches the filter. Options include 'block', 'kill', 'gline', or 'warn'.
- Redaction Options — Settings that control redaction of sensitive information such as IP addresses, emails, passwords, and other sensitive data from node responses.
Output shape
a single object containing the operation performed, success status, the result from the server (the added spamfilter details), and an ai_safe flag indicating the response is cleaned of sensitive info.
The output is an array with one element per input item. On failure, output includes an error message with success set to false. Redaction options apply to the response content to protect sensitive information.