Actions30
- Message Actions
- User Actions
- Channel Actions
- Guild Actions
- Emoji Actions
- Analytics Actions
- Moderation Actions
- Backup Actions
- DM Actions
Overview
This node operation lists all custom emojis in a specified Discord server (guild). It connects to the Discord API using a bot token, fetches the guild by its ID, and retrieves all custom emojis available in that guild. This is useful for Discord server administrators or bot developers who want to manage or display the custom emojis of their server programmatically.
Use Case Examples
- A Discord server admin wants to get a list of all custom emojis in their server to display them on a website.
- A bot developer needs to fetch and cache the emojis of a guild to use them in automated messages or reactions.
Properties
| Name | Meaning |
|---|---|
| Guild ID | The ID of the Discord server (guild) from which to list custom emojis. |
| Additional Options | Optional parameters that can modify the behavior of the operation, such as including bot messages or filtering by message IDs. (Note: These options are defined but not used in the List Emojis 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- The URL to the emoji image.identifier- The emoji identifier string.managed- Boolean indicating if the emoji is managed by an integration.available- Boolean indicating if the emoji is available for use.
Dependencies
- Discord API accessed via a bot token credential
Troubleshooting
- Ensure the provided Guild ID is correct and the bot has access to the guild.
- The bot must have the necessary permissions to fetch emojis from the guild.
- If no emojis are returned, verify that the guild actually has custom emojis created.
Links
- Discord Emoji Object Documentation - Official Discord API documentation describing the emoji object and its properties.