aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/xkcd.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/fun/xkcd.py')
-rw-r--r--bot/exts/fun/xkcd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/xkcd.py b/bot/exts/fun/xkcd.py
index b56c53d9..380c3c80 100644
--- a/bot/exts/fun/xkcd.py
+++ b/bot/exts/fun/xkcd.py
@@ -86,6 +86,6 @@ class XKCD(Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the XKCD cog."""
- bot.add_cog(XKCD(bot))
+ await bot.add_cog(XKCD(bot))