mirror of
https://gitlab.jonasled.de/jonasled/discordbot
synced 2024-08-02 07:24:40 +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)
|
@commands.cooldown(1, cooldownTime, commands.BucketType.user)
|
||||||
async def jensmeme(ctx):
|
async def jensmeme(ctx):
|
||||||
if reactOnValidCommand: await ctx.message.add_reaction("✅")
|
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
|
await ctx.send(loads(r.text)["link"])#send the fail image
|
||||||
# ___ ___ _ ______ _
|
# ___ ___ _ ______ _
|
||||||
# | \/ | (_) | ___ \ | |
|
# | \/ | (_) | ___ \ | |
|
||||||
|
|
Loading…
Reference in a new issue