We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa6c72 commit 70646f2Copy full SHA for 70646f2
examples/app_commands/info.py
@@ -24,12 +24,12 @@ async def info(ctx, user: discord.Member = None):
24
e.add_field(name="ID", value=user.id, inline=False) # user ID
25
e.add_field(
26
name="Joined",
27
- value=discord.utils.format_dt(round(user.joined_at.timestamp()), "F"),
+ value=discord.utils.format_dt(user.joined_at, "F"),
28
inline=False,
29
) # When the user joined the server
30
31
name="Created",
32
- value=discord.utils.format_dt(round(user.created_at.timestamp()), "F"),
+ value=discord.utils.format_dt(user.created_at, "F"),
33
34
) # When the user's account was created
35
colour = user.colour
0 commit comments