Compare commits
No commits in common. "90370ea280d215381c8caaf855acd1a0e412f457" and "ae31406805840c48b040c6d0b8a3760b572e7158" have entirely different histories.
90370ea280
...
ae31406805
1 changed files with 1 additions and 3 deletions
4
bot.py
4
bot.py
|
@ -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(json["mp4"])
|
||||
|
||||
|
||||
@bot.command(brief='makes things gay')
|
||||
|
|
Loading…
Reference in a new issue