> From the BotGhost docs: https://botghost.com/docs/custom-commands-and-events/actions/server-actions/create-or-delete-an-emoji
> Every page: https://botghost.com/docs/llms.txt

# Create or Delete an Emoji

Add a custom emoji from an image link, or remove one.

## Create an Emoji

![The Create an Emoji settings, with Where it goes, the name, the image link and the result name marked](https://botghost.com/docs/content/assets/workspace/block-create-emoji.png)

- **A** **Where it goes**: **This server** (only this server can use it) or **The bot's own** (works in every server, up to 2,000).
- **B** **Name**: used as `:name:` in Discord. No spaces.
- **C** **Image link**: a png, jpg or gif up to 256KB. A file sent in a command option or a form works too, through its link variable.
- **D** **Result name**: read the new emoji in later blocks, for example `{my_emoji.emoji}` to show it or `{my_emoji.id}` for its ID.

## Delete an Emoji

Removes a custom emoji from the server, or one of the bot's own. Pick it from the list, or type its ID or a variable such as `{my_emoji.id}`. To find an emoji's ID, type `\:emoji:` in Discord.

> **Note:** For server emojis the bot needs **Manage Expressions**. Servers have room for 50 or more emojis, depending on boost level.

## Success and error paths

Turn on **Enable Success/Error Handles** to run different blocks when it works (green path) and when it fails (red path).
