Discord icon

Discord

Interact with Discord API - Full Bot Features

Overview

This node interacts with the Discord API to perform various operations related to Discord guilds (servers). Specifically, the 'Get' operation for the 'Guild (Server)' resource fetches detailed information about a specified Discord guild, including its ID, name, description, member count, owner ID, and creation timestamp. This is useful for scenarios where you need to retrieve metadata about a Discord server, such as for monitoring, reporting, or automation workflows involving Discord communities.

Use Case Examples

  1. Retrieve information about a Discord server to display its details in a dashboard.
  2. Use the guild information to verify server ownership or membership counts before performing further actions.
  3. Fetch guild metadata as part of a larger workflow that manages Discord server settings or user roles.

Properties

Name Meaning
Guild ID The unique identifier of the Discord server (guild) to retrieve information from. This is a required input to specify which guild's information to fetch.
Additional Fields A collection of optional fields that can be used to specify extra parameters for certain operations. For the 'Get' operation on 'Guild', this is typically empty or unused.

Output

JSON

  • id - The unique identifier of the guild.
  • name - The name of the guild.
  • description - The description of the guild, if available.
  • memberCount - The total number of members in the guild.
  • ownerId - The user ID of the guild owner.
  • createdTimestamp - The timestamp when the guild was created.

Dependencies

  • Discord API access via a bot token credential

Troubleshooting

  • Ensure the provided Guild ID is correct and the bot has permission to access the guild information.
  • Common errors include 'Guild not found' if the ID is invalid or the bot is not a member of the guild.
  • Authentication errors may occur if the bot token credential is invalid or expired; verify the token and permissions.

Links

Discussion