From 96714ef04af65b71dd32ae8c709e26173dae6e30 Mon Sep 17 00:00:00 2001 From: Paillat Date: Sat, 28 Dec 2024 10:57:43 +0100 Subject: [PATCH] :adhesive_bandage: Fix --- discord/interactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/interactions.py b/discord/interactions.py index 1b702b1f19..c6f741ffa6 100644 --- a/discord/interactions.py +++ b/discord/interactions.py @@ -275,7 +275,7 @@ def _from_data(self, data: InteractionPayload): ch_type = ( ChannelType.text if self.guild_id is not None else ChannelType.private ) - return PartialMessageable( + self.channel = PartialMessageable( state=self._state, id=self.channel_id, type=ch_type )