Discord icon

Discord

Interact with Discord API - Full Bot Features

Overview

This node interacts with the Discord API to create a new channel within a specified Discord server (guild). It supports creating various types of channels such as text, voice, category, announcement, stage, and forum channels. Users can specify the channel name, type, and additional optional settings like topic, NSFW status, bitrate, user limit, and reason for audit logs. This node is useful for automating the management of Discord servers, such as setting up new communication channels programmatically based on events or workflows.

Use Case Examples

  1. Automatically create a new text channel for project discussions when a new project is initiated.
  2. Create a voice channel for team meetings triggered by a calendar event.
  3. Set up an announcement channel with specific permissions and topic for company-wide updates.

Properties

Name Meaning
Guild ID The ID of the Discord server (guild) where the channel will be created.
Channel Name The name of the channel to create.
Channel Type The type of channel to create, such as text, voice, category, announcement, stage, or forum.
Additional Fields Optional settings for the channel, including topic, NSFW status, bitrate, user limit, and reason for audit logs.

Output

JSON

  • id - The unique identifier of the created channel.
  • name - The name of the created channel.
  • type - The type of the created channel (e.g., text, voice, category).

Dependencies

  • Discord API access via a bot token credential

Troubleshooting

  • Ensure the provided Guild ID is correct and the bot has permission to create channels in the guild.
  • Verify that the bot token credential is valid and has the necessary scopes to manage channels.
  • If the channel creation fails, check if the channel name is valid and does not contain disallowed characters.
  • For voice channels, ensure bitrate and user limit values are within acceptable ranges.

Links

Discussion