Skip to content

EmbedAction.setIcon method

EmbedAction › setIcon

Unofficial

Set the icon of the action.

Signature:

setIcon(icon: string): this

Parameters:

ParameterTypeDescription
iconstringID of the icon to display.

Returns: thisThe action, for chaining.