fix(commands:getheaders|Network): fix timeout

This commit is contained in:
Romain J 2021-04-20 17:26:12 +02:00
parent 64fba7fec6
commit 22c5ee57d4

View file

@ -148,7 +148,7 @@ class Network(commands.Cog):
async with ctx.session.get( async with ctx.session.get(
str(ip), str(ip),
headers=headers, headers=headers,
timeout=aiohttp.ClientTimeout(total=4), timeout=aiohttp.ClientTimeout(total=8),
) as s: ) as s:
e = discord.Embed( e = discord.Embed(
title=f"Headers : {ip}", title=f"Headers : {ip}",