forked from IPD/Foxtrot
a line broke fox, gg!
This commit is contained in:
parent
88875887c2
commit
4f4d83bae4
1 changed files with 0 additions and 1 deletions
1
bot.py
1
bot.py
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue