Sign In

$editButtonOf[]

Edits a button component of a message

v1.5.0+ Requires Brackets

Usage

$editButtonOf[;;;;;;;]

Arguments

NameTypeRequiredDescription
channel ID
TextChannelYesThe channel id to pull message from
message ID
MessageYesThe message to edit button for
custom ID
StringYesThe custom id to find the component
new custom ID
StringYesThe new custom id for this component
label
StringNoThe new button label
style
NoThe new style for this button
emoji
StringNoThe new emoji for this button
disabled
BooleanNoWhether to disable the button

Output

Boolean

Was this page helpful?