Button interaction
dc_button_interaction
Value from __on_discord_button
event, used for getting the message interaction details, and then responding to it with dc_respond_interaction()
Queryable:#
Property | Type | Description |
---|---|---|
id |
String | Id of the interaction |
channel |
Channel | The channel this interaction was made in. |
user |
User | The user that used the interaction. |
token |
String | The continuation token internally used for responding to this interaction |
server |
Server | The server this reaction was made in |
locale |
String | The locale of the user executing the interaction (e.g. en-US) |
creation_timestamp |
Number | The timestamp as epoc milliseconds when this interaction was made |
custom_id |
String | The custom id of the button, as specified when creating the button component |
message |
Message | The message this interaction is attached to. |