diff --git a/Helpers/UserInfoHelpers.cs b/Helpers/UserInfoHelpers.cs index 08a4f9d..f537f8c 100644 --- a/Helpers/UserInfoHelpers.cs +++ b/Helpers/UserInfoHelpers.cs @@ -7,8 +7,8 @@ public static Task GenerateUserInfoEmbed(DiscordMember member) { var registeredAt = $"{IdHelpers.GetCreationTimestamp(member.Id, true)}"; - var t = member.JoinedAt - new DateTime(1970, 1, 1); - var joinedAtTimestamp = (int)t.TotalSeconds; + var joinDateTimeOffset = (DateTimeOffset)member.JoinedAt.DateTime; + var joinedAtTimestamp = joinDateTimeOffset.ToUnixTimeMilliseconds(); List notablePerms = []; if (member.IsOwner)