fixes muzak date nachtjes slapen
hopelijk. wie weet. lmao @ testen
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ class General(commands.Cog):
|
||||
today = datetime.now(tz=timezone(timedelta(hours=2)))
|
||||
if open > today:
|
||||
msg += "Het stemmen is nog niet geopend voor dit jaar.\n"
|
||||
days = (open-today).days
|
||||
days = (open.date()-today.date()).days
|
||||
if days > 0:
|
||||
msg += f"Nog {days} nachtjes slapen!\n"
|
||||
msg += f"Vanaf {open}"
|
||||
|
||||
Reference in New Issue
Block a user