#Why doesn't message.interaction_metadata have a data attribute like message.interaction.data
1 messages · Page 1 of 1 (latest)
In interactions.py (InteractionMetadata), I added data to the __slots__ and set self.data = data
Now it's working fine as message.interaction.data
because discord made the change and there's nothing we can do about it
you can request that they change it at https://github.com/discord/discord-api-docs/issues
@halcyon oasis
can you do this ?
it's working fine tho
that 'name' key is either not documented or not supposed to exist
you can make an issue in either our github or theirs
oh ok
but can i still use my changed code ?
from my end , it's fine
i can't say you can't use your own code
that's your problem
ok thanks