From f6a6acd9133bf3f96d20f22cbd87cd98f535c4d1 Mon Sep 17 00:00:00 2001 From: tropii <97747461+TropiiDev@users.noreply.github.com> Date: Fri, 24 Nov 2023 17:47:59 -0500 Subject: [PATCH] Meme --- commands/meme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/meme.py b/commands/meme.py index 3700775..d519978 100644 --- a/commands/meme.py +++ b/commands/meme.py @@ -42,8 +42,8 @@ class meme(commands.Cog): response = requests.request("GET", url, headers=headers) json_data = json.loads(response.text) - title = json_data["title"] - image = json_data["url"] + title = json_data[1] + image = json_data[2] em = discord.Embed(title=title, color=ctx.author.color) em.set_image(url=image) await ctx.send(embed=em)