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:
parent
9859dbca1a
commit
5773bd1856
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -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
|
||||
|
||||
|
||||
# _ _
|
||||
|
|
Loading…
Reference in a new issue