mirror of
https://git.sdf.org/tamservo/robottas.git
synced 2025-11-08 07:03:47 -05:00
Clarified response message from !rbdelay to indicate seconds.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user