From 979d11648a14c2b6cb6e78f2cd336f2f1b25f500 Mon Sep 17 00:00:00 2001 From: Snipy7374 <100313469+Snipy7374@users.noreply.github.com> Date: Sat, 14 Dec 2024 23:57:46 +0100 Subject: [PATCH] fix: pass state when building SKU objects --- disnake/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disnake/client.py b/disnake/client.py index 990e19c201..9c7a4cf6be 100644 --- a/disnake/client.py +++ b/disnake/client.py @@ -3135,7 +3135,7 @@ async def skus(self) -> List[SKU]: The list of SKUs. """ data = await self.http.get_skus(self.application_id) - return [SKU(data=d) for d in data] + return [SKU(data=d, state=self._connection) for d in data] def entitlements( self,