discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Component interactions are not providing reactions

Open MinnDevelopment opened this issue 1 year ago • 2 comments

Description

When using a button on a message, the resulting interaction has no reactions array on the message context.

Steps to Reproduce

  1. Create a button message
  2. Add a reaction
  3. 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:

image

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

MinnDevelopment avatar Sep 20 '22 16:09 MinnDevelopment

Hi

kenny10291977 avatar Sep 21 '22 15:09 kenny10291977

  • [ ] - Hey

kenny10291977 avatar Sep 21 '22 15:09 kenny10291977