Make it informational

This commit is contained in:
Nexus 2023-11-28 16:00:20 +00:00
parent b5103c98de
commit 42943eaab9
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -2369,10 +2369,12 @@ class OtherCog(commands.Cog):
value=value["failure"] or "Proxy is working.", value=value["failure"] or "Proxy is working.",
inline=False inline=False
) )
embed.set_footer(text="No speed test will be run.")
await ctx.respond(embed=embed) await ctx.respond(embed=embed)
if run_speed_test and FAILED is False: if run_speed_test and FAILED is False:
now = discord.utils.utcnow() now = discord.utils.utcnow()
embed.set_footer(text="Started speedtest at " + now.strftime("%X")) embed.set_footer(text="Started speedtest at " + now.strftime("%X"))
await ctx.edit(embed=embed)
chosen_proxy = ("socks5://" + proxy_uri) if proxy_uri else None chosen_proxy = ("socks5://" + proxy_uri) if proxy_uri else None
async with httpx.AsyncClient( async with httpx.AsyncClient(
http2=True, http2=True,