We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
InteractionData
Interaction
1 parent 15895c3 commit 7ffb1adCopy full SHA for 7ffb1ad
interactions/models/misc.py
@@ -169,6 +169,7 @@ def __init__(self, **kwargs):
169
self.application_id = (
170
Snowflake(self.application_id) if self._json.get("application_id") else None
171
)
172
+ self.data = InteractionData(**self.data) if self._json.get("data") else None
173
self.guild_id = Snowflake(self.guild_id) if self._json.get("guild_id") else None
174
self.channel_id = Snowflake(self.channel_id) if self._json.get("channel_id") else None
175
self.member = Member(**self.member) if self._json.get("member") else None
0 commit comments