#Why doesn't message.interaction_metadata have a data attribute like message.interaction.data

1 messages · Page 1 of 1 (latest)

heavy horizon
#

Why doesn't message.interaction_metadata have a data attribute like message.interaction.data used to? Can anyone explain the reason for this change, or can a developer fix the issue to include a data attribute in message.interaction_metadata?

heavy horizon
#

In interactions.py (InteractionMetadata), I added data to the __slots__ and set self.data = data
Now it's working fine as message.interaction.data

halcyon oasis
heavy horizon
halcyon oasis
#

that 'name' key is either not documented or not supposed to exist

#

you can make an issue in either our github or theirs

heavy horizon
halcyon oasis
#

that's your problem

heavy horizon