Revert gib meme as per request by API holder

This commit is contained in:
Helixu 2021-11-23 17:48:49 +00:00
parent 90370ea280
commit 3b11c6e4f2

4
bot.py
View file

@ -161,9 +161,7 @@ async def meme(ctx):
async with aiohttp.ClientSession() as session:
async with session.get('https://api.shitfest.net/v2/random.php') as resp:
json = await resp.json()
async with session.get(f"https://buckets.cat.casa/memestorage/mp4/{json['mp4_hash']}.mp4") as mp4:
file = File(io.BytesIO(await mp4.read()), filename=json['name']+'.mp4')
await ctx.send("m e m e", file=file)
await ctx.send("https://shitfest.net/"+json["name"])
@bot.command(brief='makes things gay')