Skip to content

Commit

Permalink
grr
Browse files Browse the repository at this point in the history
  • Loading branch information
Techbot121 authored and Meta Construct committed Jun 2, 2024
1 parent 3b732b3 commit 8adcc9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/services/discord/modules/logging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ export default (bot: DiscordBot): void => {
.setFooter({ text: "Member Left/Kicked" })
.setTimestamp(Date.now());
if (user.joinedTimestamp)
embed.addFields(f("Member since", `<t:${user.joinedTimestamp.toFixed(10)}:D>`));
embed.addFields(
f("Member since", `<t:${user.joinedTimestamp.toString().substring(0, 10)}:D>`)
);
await logChannel.send({ embeds: [embed] });
});

Expand Down

0 comments on commit 8adcc9e

Please sign in to comment.