mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
im going to commit
This commit is contained in:
parent
d444f7b303
commit
947f57d334
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue