Edit a channel's properties including name, topic, category, position, and more.
Args:
- channel_id (string): Discord channel ID
- name (string, optional): New channel name
- topic (string, optional): New channel topic
- parent_id (string, optional): Move to a different category (or 'none' to remove from category)
- position (number, optional): New position of the channel
- nsfw (boolean, optional): Whether the channel is NSFW
- bitrate (number, optional): Bitrate for voice channels (8000-384000)
- user_limit (number, optional): User limit for voice channels
- default_reaction_emoji (string, optional): Default emoji for forum posts (emoji char or custom ID, 'none' to remove)
- default_sort_order ('latest_activity' | 'creation_date', optional): Sort order for forum posts
- default_forum_layout ('not_set' | 'list_view' | 'gallery_view', optional): Forum layout
- available_tags (array, optional): Tags for forum posts (max 20)
WARNING: This REPLACES all existing tags! To keep existing tags, first use discord_get_channel
to get current tags with their IDs, then include them in this array with their id field.
- id (string): Tag ID - REQUIRED to preserve existing tags, omit only for new tags
- name (string): Tag name (max 20 chars)
- moderated (boolean, optional): Only mods can apply this tag
- emoji_name (string, optional): Unicode emoji (e.g., '🎮')
- emoji_id (string, optional): Custom emoji ID
Returns:
Updated channel details