1
0
Fork 0
mirror of https://gitlab.jonasled.de/jonasled/discordbot synced 2024-07-12 03:58:36 +02:00

update jensmeme api

This commit is contained in:
jonasled 2020-08-29 15:26:37 +00:00
parent 51f6dfad04
commit 888d8739a0

2
bot.py
View file

@ -460,7 +460,7 @@ async def fail(ctx):
@commands.cooldown(1, cooldownTime, commands.BucketType.user)
async def jensmeme(ctx):
if reactOnValidCommand: await ctx.message.add_reaction("")
r = get("https://jensmemes.tilera.xyz/api.php/random") # get random upload
r = get("https://jensmemes.tilera.xyz/api/random") # get random upload
await ctx.send(loads(r.text)["link"])#send the fail image
# ___ ___ _ ______ _
# | \/ | (_) | ___ \ | |