Dit stoort me al een paar jaar.

This commit is contained in:
JP
2020-04-21 21:18:22 +02:00
parent 3d7ba8ca36
commit add99665c7
+4 -1
View File
@@ -154,7 +154,10 @@ class Shitpost(object):
print("Time till 420: " + str(Distance.days) + ", " + str(Distance.seconds)) print("Time till 420: " + str(Distance.days) + ", " + str(Distance.seconds))
Message = "" Message = ""
if Distance.days < 0: if Distance.days < 0:
Message += "420 is al geweest dit jaar. Blaze het volgend jaar nog eens." if Distance.days == -1 and Now.day == 20: #is it still 420 today?
Message += ":leaf: **BLAZE IT** :leaf: "
else:
Message += "420 is al geweest dit jaar. Blaze het volgend jaar nog eens."
else: else:
days = Distance.days #bv 4 days = Distance.days #bv 4
secondsLeft = (Distance.seconds) secondsLeft = (Distance.seconds)