From 947f57d33496a30cb29129d51f554e8493b25661 Mon Sep 17 00:00:00 2001 From: nex Date: Mon, 16 Jan 2023 10:59:05 +0000 Subject: [PATCH] im going to commit --- cogs/other.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index 01860d2..4128fae 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -440,7 +440,7 @@ class OtherCog(commands.Cog): else: hostname = url.path path = "" - url = url._replace(scheme="http", hostname=hostname, path=path) + url = url._replace(scheme="http", netloc=hostname, path=path) friendly_url = textwrap.shorten(url.geturl(), 100)