aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/timed.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/evergreen/timed.py')
-rw-r--r--bot/exts/evergreen/timed.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/exts/evergreen/timed.py b/bot/exts/evergreen/timed.py
index a0f29838..604204b0 100644
--- a/bot/exts/evergreen/timed.py
+++ b/bot/exts/evergreen/timed.py
@@ -22,7 +22,10 @@ class TimedCommands(commands.Cog):
new_ctx = await self.create_execution_context(ctx, command)
if not new_ctx.command:
- await ctx.send("The command you are trying to time doesn't exist. Use `.help` for a list of commands.")
+ help_command = f"{ctx.prefix}help"
+ error = f"The command you are trying to time doesn't exist. Use `{help_command}` for a list of commands."
+
+ await ctx.send(error)
return
if new_ctx.command.qualified_name == "timed":