Actions30
- Message Actions
- User Actions
- Channel Actions
- Guild Actions
- Emoji Actions
- Analytics Actions
- Moderation Actions
- Backup Actions
- DM Actions
Overview
This node operation fetches all custom emojis from a specified Discord server (guild). It connects to the Discord API using a bot token, retrieves the guild by its ID, and then fetches the emojis associated with that guild. The operation is useful for managing or displaying custom emojis in Discord servers, such as for moderation, analytics, or backup purposes.
Use Case Examples
- Fetch all custom emojis from a guild to display them in a dashboard.
- Retrieve emojis for backup before making changes to the server.
- Analyze emoji usage by first fetching all available emojis.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The ID of the Discord server (guild) from which to fetch custom emojis. |
| Additional Options | Optional parameters for filtering or modifying the fetch operation, though not specifically used in this operation. |
Output
JSON
id- The unique identifier of the emoji.name- The name of the emoji.animated- Boolean indicating if the emoji is animated.url- URL to the emoji image.managed- Boolean indicating if the emoji is managed by an integration.available- Boolean indicating if the emoji is currently available.requireColons- Boolean indicating if the emoji requires colons to be used.
Dependencies
- Discord API access via a bot token credential
Troubleshooting
- Ensure the bot token credential is valid and has permissions to access the guild and its emojis.
- Verify the Guild ID is correct and the bot is a member of the guild.
- Common errors include 'Guild not found' or 'Permission denied' if the bot lacks access rights.
Links
- Discord Emoji API Documentation - Official Discord API documentation for emoji resource and endpoints.