a line broke fox, gg!

This commit is contained in:
Helixu 2021-11-20 17:17:33 +00:00
parent 88875887c2
commit 4f4d83bae4

1
bot.py
View file

@ -37,7 +37,6 @@ bot = commands.Bot(command_prefix='gib ')
@bot.command(brief="gives you a fluffy fox") @bot.command(brief="gives you a fluffy fox")
async def fox(ctx): async def fox(ctx):
async with aiohttp.ClientSession() as session: async with aiohttp.ClientSession() as session:
async with session.get('https://foxrudor.de/') as resp: async with session.get('https://foxrudor.de/') as resp:
file = File(io.BytesIO(await resp.read()),filename='fox.jpg') file = File(io.BytesIO(await resp.read()),filename='fox.jpg')