update HD con 2021 date
de datum van HD con 2021 aangepast van 2020
This commit is contained in:
+9
-9
@@ -39,17 +39,17 @@ class Shitpost(commands.Cog):
|
|||||||
|
|
||||||
#year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0)
|
#year, month, day, hour=0, minute=0, second=0, microsecond=0, tzinfo=None, *, fold=0)
|
||||||
Now = datetime.now()
|
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
|
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 Distance.days < 0:
|
||||||
if Now.month == 10:
|
if Now.month == 9:
|
||||||
if Now.day == 2:
|
if Now.day == 3:
|
||||||
Message = "HD Con 2020 begint vandaag! HYPE!"
|
Message = "HD Con 2021 begint vandaag! HYPE!"
|
||||||
elif Now.day == 3 or Now.day == 4:
|
elif Now.day == 4 or Now.day == 4:
|
||||||
Message = "HD Con 2020 is nu bezig!!"
|
Message = "HD Con 2021 is nu bezig!!"
|
||||||
elif Now.day == 5:
|
elif Now.day == 6:
|
||||||
Message = "HD Con 2020 is vandaag alweer afgelopen... F"
|
Message = "HD Con 2021 is vandaag alweer afgelopen... F"
|
||||||
yield from ctx.channel.send(ctx.author.mention + ' ' + str(Message))
|
yield from ctx.channel.send(ctx.author.mention + ' ' + str(Message))
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user