fix fix
This commit is contained in:
+1
-1
@@ -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
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user