# $emojisFromMessage

`$emojisFromMessage` reads a text and returns **every emoji it contains**, in the order they appear. Unicode emojis (flags, skin tones and combined emojis included) and custom emojis written `<:name:id>` or `<a:name:id>` are both found.

To read the custom emojis of a message from its ID, use `$messageEmojis[]`.

## Syntax

```
$emojisFromMessage[text;(separator)]
```

## Parameters

| Parameter | Description |
|---|---|
| `text` | Required. The text to read, for example `$message`. |
| `separator` | Optional. Text placed between two emojis, `, ` by default. |

## Return Value

- The emojis, joined by the separator. An empty text when there is none.

## Examples

```bdfd
$emojisFromMessage[Hi 👍 <:wave:123456789012345678> and 🇫🇷!]
```

Result: `👍, <:wave:123456789012345678>, 🇫🇷`

```bdfd
Emojis of your message: $emojisFromMessage[$message; ]
```
