This commit is contained in:
Klemek
2023-10-16 11:13:42 +02:00
parent c503673cbc
commit 87217ac31c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ emojis.load_emojis()
bot = Bot( bot = Bot(
"Discord Analyst", "Discord Analyst",
"1.17.3", "1.17.4",
alias="%", alias="%",
) )
+1 -1
View File
@@ -263,7 +263,7 @@ def utc_now() -> datetime:
def utc_today() -> datetime: def utc_today() -> datetime:
today = utc_now().date() today = utc_now().date()
return datetime(today.year, today.month, today.day, tz=timezone.utc) return datetime(today.year, today.month, today.day, tzinfo=timezone.utc)
def parse_relative_time(src: str) -> datetime: def parse_relative_time(src: str) -> datetime: