From 83022f96e9d9475f40c86f94514663df3e6b344c Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Sat, 12 May 2018 15:41:15 -0700 Subject: [PATCH] Fix countdown --- blurplefy/blurplefy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blurplefy/blurplefy.py b/blurplefy/blurplefy.py index 16ff86a..c7e3875 100644 --- a/blurplefy/blurplefy.py +++ b/blurplefy/blurplefy.py @@ -349,7 +349,7 @@ class Blurplefy: if int(timeleft.total_seconds()) < 0: timeleft = datetime.datetime(2019, 5, 13) + datetime.timedelta(hours=7) - datetime.datetime.utcnow() embed.set_author(name='Time left until Discord\'s 4th Anniversary') - embed.add_field(name='Countdown to midnight, May 13, California time (UTC-7):', value=('{}'.format(self._dynamic_time(countdown_seconds)))) + embed.add_field(name='Countdown to midnight, May 13, California time (UTC-7):', value=('{}'.format(self._dynamic_time(int(timeleft.total_seconds()))))) await ctx.send(embed=embed) @staticmethod