Skip to content

Commit 96714ef

Browse files
committed
🩹 Fix
1 parent 00e2f55 commit 96714ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def _from_data(self, data: InteractionPayload):
275275
ch_type = (
276276
ChannelType.text if self.guild_id is not None else ChannelType.private
277277
)
278-
return PartialMessageable(
278+
self.channel = PartialMessageable(
279279
state=self._state, id=self.channel_id, type=ch_type
280280
)
281281

0 commit comments

Comments
 (0)