Actions30
- Message Actions
- User Actions
- Channel Actions
- Guild Actions
- Emoji Actions
- Analytics Actions
- Moderation Actions
- Backup Actions
- DM Actions
Overview
This node interacts with the Discord API to perform various user-related operations within a Discord server or direct messages. Specifically, for the 'User' resource and 'Get User Info' operation, it fetches detailed information about a specified user by their user ID. This includes user attributes such as username, discriminator, display name, bot status, system status, avatar details, banner, accent color, and account creation timestamps. This node is useful for scenarios where you need to retrieve comprehensive user profile data for moderation, analytics, or user management purposes in Discord communities.
Use Case Examples
- Fetching detailed profile information of a Discord user by their user ID to display in a dashboard.
- Retrieving user avatar and banner details for use in a custom Discord bot or application.
- Gathering user metadata for audit or moderation logs within a Discord server.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the user whose information is to be retrieved. |
| Additional Options | Optional parameters to include bots, filter messages, or specify audit log details (not directly used in 'Get User Info' but available for other operations). |
Output
JSON
id- User's unique Discord ID.username- User's Discord username.discriminator- User's Discord discriminator (the 4-digit tag).displayName- User's display name.bot- Boolean indicating if the user is a bot.system- Boolean indicating if the user is a system user.avatar- User's avatar hash.avatarURL- URL to the user's avatar image.banner- User's banner hash.accentColor- User's accent color.createdTimestamp- Timestamp when the user account was created.createdAt- ISO string of the user account creation date.
Dependencies
- Discord API access via a bot token credential
Troubleshooting
- Ensure the provided User ID is correct and the bot has permission to fetch user information.
- If the bot token is invalid or lacks necessary permissions, the node will fail to retrieve user data.
- Network issues or Discord API rate limits may cause temporary failures; retrying may resolve these.
Links
- Discord Developer Documentation - Official Discord API documentation for understanding user data and API usage.