Set Topic
AI-generatedSummary
Set the topic of a specified IRC channel on an UnrealIRCd server, optionally including the username who set the topic and the timestamp when it was set.
Inputs
- Channel (required) — The IRC channel name (e.g., "#general") where the topic is to be set.
- Topic (required) — The new topic text to assign to the IRC channel.
- Set By — Optional username of who set the topic, used for display in topic queries.
- Set At — Optional ISO 8601 timestamp indicating when the topic was set.
- Redaction Options — Options to redact sensitive data, IP addresses, emails, and custom patterns from responses.
Output shape
a single JSON object with the operation result indicating success and the updated topic information
The output contains 'operation', 'success' boolean, 'result' with server response, and 'ai_safe' flag. Errors are thrown or returned based on node settings.
Examples
Example 1: Set the topic on channel '#general' to 'Welcome to General Discussion' with topic set by 'admin' at '2023-01-07T09:19:59.000Z'.
Provide 'Channel' as '#general', 'Topic' as 'Welcome to General Discussion', optionally 'Set By' as 'admin', and 'Set At' as the ISO timestamp.