Skip to content

Commit 70646f2

Browse files
greatbritdanLulalaby
authored andcommitted
Fixed format_dt using wrong format
1 parent eaa6c72 commit 70646f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/app_commands/info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ async def info(ctx, user: discord.Member = None):
2424
e.add_field(name="ID", value=user.id, inline=False) # user ID
2525
e.add_field(
2626
name="Joined",
27-
value=discord.utils.format_dt(round(user.joined_at.timestamp()), "F"),
27+
value=discord.utils.format_dt(user.joined_at, "F"),
2828
inline=False,
2929
) # When the user joined the server
3030
e.add_field(
3131
name="Created",
32-
value=discord.utils.format_dt(round(user.created_at.timestamp()), "F"),
32+
value=discord.utils.format_dt(user.created_at, "F"),
3333
inline=False,
3434
) # When the user's account was created
3535
colour = user.colour

0 commit comments

Comments
 (0)