Skip to content

deprecate and replace with interaction_metadata #2404

@github-actions

Description

@github-actions

Line: 850

pycord//discord/message.py

Lines 847 to 857 in 6fbb08e

self.interaction = MessageInteraction(data=data["interaction"], state=state)
except KeyError:
self.interaction = None
# TODO: deprecate and replace with interaction_metadata
self.thread: Thread | None
try:
self.thread = Thread(
guild=self.guild, state=self._state, data=data["thread"]
)
except KeyError:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions