refactor: parse_snowflake -> snowflake_timestamp

This commit is contained in:
2025-01-10 23:48:45 -05:00
parent 7fdaf7b379
commit de5d4d2793
3 changed files with 5 additions and 5 deletions

View File

@@ -67,7 +67,7 @@ async def lookup(message):
)
embed.add_field(
name="Creation Time",
value=f"<t:{utils.parse_snowflake(int(response['id']))}:R>",
value=f"<t:{utils.snowflake_timestamp(int(response['id']))}:R>",
)
embed.add_field(
name="Default Invite URL",
@@ -135,7 +135,7 @@ async def lookup(message):
)
embed.add_field(
name="Creation Time",
value=f"<t:{utils.parse_snowflake(int(user.id))}:R>",
value=f"<t:{utils.snowflake_timestamp(int(user.id))}:R>",
)
embed.add_field(
name="Public Flags",