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:
parent
51f6dfad04
commit
888d8739a0
2
bot.py
2
bot.py
|
@ -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
|
||||
# ___ ___ _ ______ _
|
||||
# | \/ | (_) | ___ \ | |
|
||||
|
|
Loading…
Reference in a new issue