diff options
-rw-r--r-- | bot/seasons/evergreen/error_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/evergreen/error_handler.py b/bot/seasons/evergreen/error_handler.py index b594c688..47e18a31 100644 --- a/bot/seasons/evergreen/error_handler.py +++ b/bot/seasons/evergreen/error_handler.py @@ -44,10 +44,10 @@ class CommandErrorHandler: )
seconds = error.retry_after
remaining_minutes, remaining_seconds = divmod(seconds, 60)
- message = f'{int(remaining_minutes)} minutes {math.ceil(remaining_seconds)} seconds'
+ time_remaining = f'{int(remaining_minutes)} minutes {math.ceil(remaining_seconds)} seconds'
return await ctx.send(
"This command is on cooldown,"
- f" please retry in {message}."
+ f" please retry in {time_remaining}."
)
if isinstance(error, commands.DisabledCommand):
logging.debug(
|