mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Make it informational
This commit is contained in:
parent
b5103c98de
commit
42943eaab9
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue