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 members. Specifically, the 'Member: Get' operation retrieves detailed information about a member in a Discord guild (server) by their user ID and guild ID. It fetches the member's username, nickname, join timestamp, and roles within the guild. This node is useful for scenarios where you need to access or display member details, such as in community management, moderation bots, or analytics.

Use Case Examples

  1. Retrieve a member's information to display their roles and join date in a dashboard.
  2. Fetch user details to verify membership status before granting access to certain features.
  3. Use member data to log user activity or changes in a Discord server.

Properties

Name Meaning
Guild ID The ID of the Discord server (guild) where the member belongs.
User ID The ID of the user whose member information is to be retrieved.
Role ID The ID of the role (used in some member operations but not specifically for 'Get').
Additional Fields Optional additional parameters for various operations, not specifically used in 'Get' member operation.

Output

JSON

  • id - The member's user ID.
  • username - The member's Discord username.
  • nickname - The member's nickname in the guild, if set.
  • joinedTimestamp - Timestamp when the member joined the guild.
  • roles - Array of roles assigned to the member, each with role ID and name.

Dependencies

  • Discord API access via a bot token credential

Troubleshooting

  • Ensure the provided Guild ID and User ID are correct and the bot has permission to access the guild and member information.
  • If the member is not found, verify that the user is a member of the specified guild.
  • Check that the bot token credential is valid and has the necessary scopes to fetch member data.

Links

Discussion