Clarified response message from !rbdelay to indicate seconds.

This commit is contained in:
tamservo 2023-07-29 12:57:04 -04:00
parent 12855df36d
commit 0bcb1e488f
1 changed files with 3 additions and 3 deletions

View File

@ -734,12 +734,12 @@ class Robottas(commands.Bot):
try:
secs = int(delay)
if secs < 10 or secs > 300:
await ctx.send("delay must be between 10 and 300")
await ctx.send("Delay must be between 10 and 300.")
else:
self.delay = secs
await ctx.send(f"delay set to {secs}")
await ctx.send(f"Delay set to {secs} seconds.")
except:
await ctx.send("invalid delay value")
await ctx.send(f"Invalid delay value ({secs}).")
@self.command()