Discord Tools icon

Discord Tools

Discord utility tools - Message fetching, user info, and more

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

  1. Fetch all custom emojis from a guild to display them in a dashboard.
  2. Retrieve emojis for backup before making changes to the server.
  3. 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

Discussion