aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts')
-rw-r--r--bot/exts/holidays/halloween/spookygif.py2
1 files changed, 1 insertions, 1 deletions
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)