Get Emoji

BlockEmojis

Get an emoji by ID.

Inputs

Emoji IDRequired

ID of the emoji to retrieve.

Server IDRequired

ID of the server to retrieve the emoji from.

Outputs

Emoji ID

ID of the emoji.

Emoji Name

Name of the emoji.

Animated

Whether the emoji is animated.

Available

Whether the emoji is available for use.

Managed

Whether the emoji is managed by an integration.

Requires Colons

Whether the emoji requires colons.

Roles

Comma-separated role IDs that can use the emoji.

User ID

ID of the emoji creator, if available.

API Name

API-ready emoji name (name:id or a:name:id).

Build a bot using blocks like Get Emoji

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: get_emoji

Inputs

FieldInventScript nameValue
Emoji IDemoji_id
Server IDserver_id

Outputs

FieldInventScript nameValue
Emoji IDid
Emoji Namename
Animatedanimated
Availableavailable
Managedmanaged
Requires Colonsrequires_colons
Rolesroles
User IDuser_id
API Nameapi_name

Example InventScript

emoji := get_emoji(Args{emoji_id: "...", server_id: trigger.server_id})
send_text_message(Args{channel_id: trigger.channel_id, message_content: "Emoji ID: " + emoji.id})

More emojis blocks