From 0e1794873c14906ac52fd62654c552e88d6040cc Mon Sep 17 00:00:00 2001 From: tookender Date: Sat, 4 May 2024 20:41:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20debugging..?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/ipc/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/ipc/__init__.py b/extensions/ipc/__init__.py index 3be60ca..14c6a74 100644 --- a/extensions/ipc/__init__.py +++ b/extensions/ipc/__init__.py @@ -20,9 +20,8 @@ async def ping(self, _) -> Response: async def bot_guilds(self, request: Request) -> Response: data = await request.json() - valid_guilds = [guild for guild in data if self.bot.get_guild(guild["id"])] - - return json_response({"guilds": valid_guilds}) + + return json_response({"data": data}) async def _start(self): await self.bot.wait_until_ready()