aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/timed.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/utilities/timed.py')
-rw-r--r--bot/exts/utilities/timed.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/utilities/timed.py b/bot/exts/utilities/timed.py
index 2ea6b419..d419dd08 100644
--- a/bot/exts/utilities/timed.py
+++ b/bot/exts/utilities/timed.py
@@ -43,6 +43,6 @@ class TimedCommands(commands.Cog):
await ctx.send(f"Command execution for `{new_ctx.command}` finished in {(t_end - t_start):.4f} seconds.")
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Timed cog."""
- bot.add_cog(TimedCommands())
+ await bot.add_cog(TimedCommands())