mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Debug
This commit is contained in:
parent
6c1abe27d3
commit
4dd922c94f
1 changed files with 4 additions and 2 deletions
|
@ -1996,7 +1996,8 @@ class OtherCog(commands.Cog):
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title=f"Failed to download model {model}:",
|
title=f"Failed to download model {model}:",
|
||||||
description=f"HTTP {response.status_code}:\n```{error or '<no body>'}\n```",
|
description=f"HTTP {response.status_code}:\n```{error or '<no body>'}\n```",
|
||||||
colour=discord.Colour.red()
|
colour=discord.Colour.red(),
|
||||||
|
url=str(response.url)
|
||||||
)
|
)
|
||||||
embed.set_footer(text="Using server {} ({})".format(host, try_hosts.get(host, "Other")))
|
embed.set_footer(text="Using server {} ({})".format(host, try_hosts.get(host, "Other")))
|
||||||
return await msg.edit(embed=embed)
|
return await msg.edit(embed=embed)
|
||||||
|
@ -2030,7 +2031,8 @@ class OtherCog(commands.Cog):
|
||||||
embed = discord.Embed(
|
embed = discord.Embed(
|
||||||
title=f"Failed to download model {model}:",
|
title=f"Failed to download model {model}:",
|
||||||
description=f"HTTP {response.status_code}:\n```{error or '<no body>'}\n```",
|
description=f"HTTP {response.status_code}:\n```{error or '<no body>'}\n```",
|
||||||
colour=discord.Colour.red()
|
colour=discord.Colour.red(),
|
||||||
|
url=str(response.url)
|
||||||
)
|
)
|
||||||
embed.set_footer(text="Using server {} ({})".format(host, try_hosts.get(host, "Other")))
|
embed.set_footer(text="Using server {} ({})".format(host, try_hosts.get(host, "Other")))
|
||||||
return await msg.edit(embed=embed)
|
return await msg.edit(embed=embed)
|
||||||
|
|
Loading…
Reference in a new issue