Discord Tools icon

Discord Tools

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

Overview

This node operation allows users to create a custom emoji in a specified Discord server (guild). It is useful for Discord server administrators or bot developers who want to programmatically add new emojis to their server. For example, a user can provide the guild ID, the name for the new emoji, and the URL of the emoji image, and the node will create the emoji in that server.

Use Case Examples

  1. Create a new emoji named 'partyParrot' in a Discord server by providing the server's guild ID and the URL of the party parrot image.
  2. Add a custom emoji to a guild for use in messages and reactions.

Properties

Name Meaning
Guild ID The ID of the Discord server (guild) where the emoji will be created.
Emoji Name The name to assign to the new emoji.
Emoji Image URL The URL of the image to use for the emoji.
Additional Options Optional parameters that can be used for other operations but are not used in the create emoji operation.

Output

JSON

  • id - The unique identifier of the created emoji.
  • name - The name of the created emoji.
  • animated - Boolean indicating if the emoji is animated.
  • url - The URL of the emoji image.
  • identifier - The identifier string for the emoji.

Dependencies

  • Discord API access via a bot token credential

Troubleshooting

  • Ensure the provided Guild ID is correct and the bot has permission to manage emojis in the guild.
  • Verify the Emoji Image URL is accessible and points to a valid image format supported by Discord.
  • Common error: 'Emoji not found' occurs if trying to delete or fetch an emoji that does not exist; ensure the emoji ID is correct.
  • If the bot lacks permissions to create emojis, the operation will fail; check the bot's role and permissions in the guild.

Links

Discussion