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})
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_emojiInputs
| Field | InventScript name | Value |
|---|---|---|
| Emoji ID | emoji_id | |
| Server ID | server_id | |
| New Name | new_name | |
| Role IDs | role_ids | |
| Image | image |
Outputs
| Field | InventScript name | Value |
|---|---|---|
| Emoji ID | id | |
| Emoji Name | name | |
| Roles | roles |