diff options
author | 2022-09-19 23:09:56 -0500 | |
---|---|---|
committer | 2022-09-19 21:09:56 -0700 | |
commit | aaa96359448a39a5bbb9a0fd403f23b59b5df860 (patch) | |
tree | fbed3d69172e391b851a6e4adf0e64b125fd6421 | |
parent | Merge pull request #981 from onerandomusername/fix-whitelist-inheritance (diff) |
Fix issue #1050 (#1097)
Co-authored-by: ChrisJL <[email protected]>
-rw-r--r-- | bot/exts/holidays/halloween/spookygif.py | 2 |
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) |