Set Mode
AI-generatedSummary
Set or unset IRC channel modes on a specified channel by providing mode flags and their parameters.
Inputs
- Channel (required) — The IRC channel name to modify (e.g., "#general").
- Modes (required) — IRC channel mode string to apply, such as "+be" to add ban and ban exception or "-i+m" to remove invite-only and add moderated.
- Parameters — Space-separated list of parameters corresponding to the IRC channel modes (e.g., ban masks).
- Redaction Options — Options to redact sensitive data, IP addresses, email addresses, or custom regex patterns from responses.
Output shape
a single JSON object indicating success and including the result of the mode change request
The output includes the operation name, a success boolean, the server's response result, and an AI safety flag. Errors are returned similarly if the operation fails.
Examples
Example 1: Set channel modes
Set +b (ban) mode with a ban mask parameter on #general channel