From aaa96359448a39a5bbb9a0fd403f23b59b5df860 Mon Sep 17 00:00:00 2001 From: Jeremiah Date: Mon, 19 Sep 2022 23:09:56 -0500 Subject: Fix issue #1050 (#1097) Co-authored-by: ChrisJL --- bot/exts/holidays/halloween/spookygif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') diff --git a/bot/exts/holidays/halloween/spookygif.py b/bot/exts/holidays/halloween/spookygif.py index 9511d407..91d50fb9 100644 --- a/bot/exts/holidays/halloween/spookygif.py +++ b/bot/exts/holidays/halloween/spookygif.py @@ -25,7 +25,7 @@ class SpookyGif(commands.Cog): # Make a GET request to the Giphy API to get a random halloween gif. async with self.bot.http_session.get(API_URL, params=params) as resp: data = await resp.json() - url = data["data"]["image_url"] + url = data["data"]["images"]["downsized"]["url"] embed = discord.Embed(title="A spooooky gif!", colour=Colours.purple) embed.set_image(url=url) -- cgit v1.2.3