1
0
Fork 0
mirror of https://gitlab.jonasled.de/jonasled/discordbot synced 2024-12-04 22:12:40 +01:00

update jensmeme to latest API version

This commit is contained in:
jonasled 2021-04-20 08:41:27 +00:00
parent 9859dbca1a
commit 5773bd1856

2
bot.py
View file

@ -582,7 +582,7 @@ async def fail(ctx):
async def jensmeme(ctx):
if reactOnValidCommand: await ctx.message.add_reaction("")
r = get("https://api.tilera.xyz/jensmemes/v1/random") # get random upload
await ctx.send(loads(r.text)["link"]) # send the fail image
await ctx.send(loads(r.text)["meme"]["link"]) # send the fail image
# _ _