Modify Emoji

BlockEmojis

Modifies a given emoji in a server.

Inputs

Emoji IDRequired

ID of the emoji to modify.

Server IDRequired

ID of the server where the emoji resides.

New Name

New name for the emoji.

Role IDs

Comma-separated role IDs for the emoji.

Image

New base64 encoded image for the emoji.

Outputs

Emoji ID

ID of the modified emoji.

Emoji Name

Name of the modified emoji.

Roles

Comma-separated role IDs that can use the emoji.

Build a bot using blocks like Modify 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: modify_emoji

Inputs

FieldInventScript nameValue
Emoji IDemoji_id
Server IDserver_id
New Namenew_name
Role IDsrole_ids
Imageimage

Outputs

FieldInventScript nameValue
Emoji IDid
Emoji Namename
Rolesroles

Example InventScript

emoji := modify_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