mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 10:03:40 +01:00
Remove api64 call
This commit is contained in:
parent
48c1d29ada
commit
c7b326899b
1 changed files with 1 additions and 2 deletions
|
@ -857,9 +857,8 @@ class OtherCog(commands.Cog):
|
|||
@staticmethod
|
||||
async def check_proxy(url: str = "socks5://localhost:1090"):
|
||||
client = httpx.AsyncClient(http2=True)
|
||||
my_ip64 = (await client.get("https://api64.ipify.org")).text
|
||||
my_ip4 = (await client.get("https://api.ipify.org")).text
|
||||
real_ips = [my_ip64, my_ip4]
|
||||
real_ips = [my_ip4]
|
||||
await client.aclose()
|
||||
|
||||
# Check the proxy
|
||||
|
|
Loading…
Reference in a new issue