runrunit_discord_create_channel
Creates a Discord text channel for a client using a sanitized name slug (e.g., 'client-1'), preventing duplicates. Optionally sets topic, parent category, or guild ID.
Instructions
Create a text channel in the Discord server (guild) if not exists, use comparison with name 'Client 1' -> 'client-1' to avoid create duplicate channels. Use guild_id from env (DISCORD_GUILD_ID) or pass explicitly. One channel per client pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Channel name (slug, e.g. client-name alaways for legible, ex: 'Client 1' -> 'client-1') | |
| topic | No | Channel topic (optional) | |
| guild_id | No | Discord guild (server) ID (optional if DISCORD_GUILD_ID set) | |
| parent_id | No | Category channel ID (optional) |