aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/pythonfacts.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/utilities/pythonfacts.py')
-rw-r--r--bot/exts/utilities/pythonfacts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utilities/pythonfacts.py b/bot/exts/utilities/pythonfacts.py
index ef190185..a5bfb612 100644
--- a/bot/exts/utilities/pythonfacts.py
+++ b/bot/exts/utilities/pythonfacts.py
@@ -31,6 +31,6 @@ class PythonFacts(commands.Cog):
await ctx.send(embed=embed)
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the PythonFacts Cog."""
- bot.add_cog(PythonFacts())
+ await bot.add_cog(PythonFacts())