discord-api-docs
discord-api-docs copied to clipboard
Component interactions are not providing reactions
Description
When using a button on a message, the resulting interaction has no reactions
array on the message context.
Steps to Reproduce
- Create a button message
- Add a reaction
- Press button
Expected Behavior
The reactions should be present in interaction.message
.
Current Behavior
There is no reaction array.
Screenshots/Videos
Reacting with both custom and unciode emoji:
Event interaction.message
:
{
"mention_everyone" : false,
"components" : [ {
"components" : [ {
"custom_id" : "test",
"style" : 1,
"label" : "test",
"type" : 2
} ],
"type" : 1
} ],
"pinned" : false,
"attachments" : [ ],
"author" : {
"bot" : true,
"avatar" : "55656387144ba6509be9117ebfbf0530",
"id" : 420321485757087746,
"public_flags" : 0,
"avatar_decoration" : null,
"discriminator" : "3362",
"username" : "MinnBot"
},
"flags" : 0,
"mention_roles" : [ ],
"type" : 0,
"content" : "",
"edited_timestamp" : null,
"tts" : false,
"mentions" : [ ],
"id" : 1021818347710595082,
"channel_id" : 936772801807933480,
"embeds" : [ ],
"timestamp" : "2022-09-20T16:21:18.561000+00:00"
}
Client and System Information
Rest/Gateway v10
Hi
- [ ] - Hey