$deleteButton
$deleteButton
removes a given button component from a given message authored by the bot.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
messageId | number | Message ID corresponding to the message of the button. | true |
customId | string | Custom ID corresponding to the component. | true |
channelId | number | Channel ID corresponding to the message of the button. | false |
Example(s)
This will send a message with a button and remove the button after doing so: