From 11959a2dec4e81cbcc18bfd9a2e1dd08df3988a6 Mon Sep 17 00:00:00 2001 From: lourens Date: Fri, 25 Jun 2021 23:50:46 +0200 Subject: [PATCH] update HD con 2021 date de datum van HD con 2021 aangepast van 2020 --- Shitpost.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Shitpost.py b/Shitpost.py index df81175..74bc9aa 100644 --- a/Shitpost.py +++ b/Shitpost.py @@ -39,17 +39,17 @@ class Shitpost(commands.Cog): #year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0) Now = datetime.now() - HdConDate = datetime(2020, 10, 2, 4, 0, 1) #om 4 uur lig je toch wel al op bed? + HdConDate = datetime(2020, 9, 3, 4, 0, 1) #om 4 uur lig je toch wel al op bed? Distance = HdConDate - Now - Message = Message = "HD Con 2020 is al voorbij. HD Con 2021 zal in 2021 plaatsvinden." #init + Message = Message = "HD Con 2021 is al voorbij. HD Con 2022 zal in 2022 plaatsvinden." #init if Distance.days < 0: - if Now.month == 10: - if Now.day == 2: - Message = "HD Con 2020 begint vandaag! HYPE!" - elif Now.day == 3 or Now.day == 4: - Message = "HD Con 2020 is nu bezig!!" - elif Now.day == 5: - Message = "HD Con 2020 is vandaag alweer afgelopen... F" + if Now.month == 9: + if Now.day == 3: + Message = "HD Con 2021 begint vandaag! HYPE!" + elif Now.day == 4 or Now.day == 4: + Message = "HD Con 2021 is nu bezig!!" + elif Now.day == 6: + Message = "HD Con 2021 is vandaag alweer afgelopen... F" yield from ctx.channel.send(ctx.author.mention + ' ' + str(Message)) return else: