Skip to content

$oldEmoji

$oldEmoji holds data for the emoji before it was updated/ deleted. (emojiUpdate and emojiDelete event)

Usage

$oldEmoji[option]

Parameters

FieldTypeDescriptionRequired
optionstringOption to retrieve.true

Options

OptionTypeDescription
stringstringReturns text required to form the emoji.
guildnumberReturns the guild ID of emoji.
urlstringReturns url of emoji(if it’s custom).