Entity Info
emojiData
$emojiData
Reads a custom emoji of the server from Discord: the whole object as JSON, or one field. Bot Creator function, not in the official BDFD wiki.
Syntax
$emojiData[emojiID;(field);(guildID)]
Parameters
| Parameter | Description |
|---|---|
emojiID |
Required. The ID of the emoji. |
field |
Optional. The field to read, as a path (owner_id, user.username, roles.0; camelCase names work too). Empty: the whole object as JSON. |
guildID |
Optional. The ID of the server. Empty or absent: the current server. |
Return Value
- The object as JSON, or the requested field.
Example
$emojiData[123456789;name]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.