aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/timeleft.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-01 00:02:15 +0100
committerGravatar Joe Banks <[email protected]>2020-10-01 00:02:15 +0100
commit60a024c818c405822f13046ff93805837bfc591e (patch)
tree052005e3903b1b7c28aad74c7172e39faa7f4707 /bot/exts/halloween/timeleft.py
parentUpdate timeleft to not be locked to October (diff)
Improve formatting in timeleft
Diffstat (limited to 'bot/exts/halloween/timeleft.py')
-rw-r--r--bot/exts/halloween/timeleft.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bot/exts/halloween/timeleft.py b/bot/exts/halloween/timeleft.py
index ef436057..47adb09b 100644
--- a/bot/exts/halloween/timeleft.py
+++ b/bot/exts/halloween/timeleft.py
@@ -50,8 +50,11 @@ class TimeLeft(commands.Cog):
if self.in_hacktober():
minutes = seconds // 60
hours, minutes = divmod(minutes, 60)
- await ctx.send(f"There are {days} days, {hours} hours and {minutes}"
- " minutes left until the end of Hacktober.")
+
+ await ctx.send(
+ f"There are {days} days, {hours} hours and {minutes}"
+ f" minutes left until the end of Hacktober."
+ )
else:
start_diff = start - now
start_days = start_diff.days