Update the countdown for the 5th anninversary (#64)
Updated the anniversary, it’s now the 5th 🎉
This commit is contained in:
@@ -396,21 +396,21 @@ class Blurplefy(commands.Cog):
|
||||
|
||||
@commands.command()
|
||||
async def countdown(self, ctx):
|
||||
"""Countdown to Discord's 4th Anniversary."""
|
||||
"""Countdown to Discord's 5th Anniversary."""
|
||||
embed = discord.Embed(name="", colour=0x7289da)
|
||||
timeleft = (
|
||||
datetime.datetime(2018, 5, 13)
|
||||
datetime.datetime(2019, 5, 13)
|
||||
+ datetime.timedelta(hours=7)
|
||||
- datetime.datetime.utcnow()
|
||||
)
|
||||
embed.set_author(name="Time left until Discord's 4th Anniversary")
|
||||
embed.set_author(name="Time left until Discord's 5th Anniversary")
|
||||
if int(timeleft.total_seconds()) < 0:
|
||||
timeleft = (
|
||||
datetime.datetime(2019, 5, 13)
|
||||
datetime.datetime(2020, 5, 13)
|
||||
+ datetime.timedelta(hours=7)
|
||||
- datetime.datetime.utcnow()
|
||||
)
|
||||
embed.set_author(name="Time left until Discord's 4th Anniversary")
|
||||
embed.set_author(name="Time left until Discord's 5th Anniversary")
|
||||
embed.add_field(
|
||||
name="Countdown to midnight, May 13, California time (UTC-7):",
|
||||
value=("{}".format(self._dynamic_time(int(timeleft.total_seconds())))),
|
||||
|
||||
Reference in New Issue
Block a user