From 6bb56203fa1af855abd9c16273aeac823d729b7c Mon Sep 17 00:00:00 2001 From: nex Date: Tue, 14 Nov 2023 22:31:36 +0000 Subject: [PATCH] Fix the error in the error handler --- .idea/dataSources.local.xml | 2 +- cogs/other.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.idea/dataSources.local.xml b/.idea/dataSources.local.xml index 392ac75..7bda43d 100644 --- a/.idea/dataSources.local.xml +++ b/.idea/dataSources.local.xml @@ -1,6 +1,6 @@ - + " diff --git a/cogs/other.py b/cogs/other.py index b592d68..06b063d 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -1980,7 +1980,7 @@ class OtherCog(commands.Cog): response = await client.get("/tags") response.raise_for_status() except httpx.HTTPStatusError as e: - error = "GET {0.response.url} HTTP {0.status}: {0.text}".format(e.response) + error = "GET {0.url} HTTP {0.status_code}: {0.text}".format(e.response) return await msg.edit( embed=discord.Embed( title="Failed to GET /tags. Offline?",