aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/serverProfile/GuildProfileModal.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/serverProfile/GuildProfileModal.tsx')
-rw-r--r--src/plugins/serverProfile/GuildProfileModal.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/serverProfile/GuildProfileModal.tsx b/src/plugins/serverProfile/GuildProfileModal.tsx
index 79b3877..2be9b57 100644
--- a/src/plugins/serverProfile/GuildProfileModal.tsx
+++ b/src/plugins/serverProfile/GuildProfileModal.tsx
@@ -170,7 +170,7 @@ function ServerInfoTab({ guild }: GuildProps) {
const Fields = {
"Server Owner": owner ? Owner(guild.id, owner) : "Loading...",
"Created At": renderTimestamp(SnowflakeUtils.extractTimestamp(guild.id)),
- "Joined At": renderTimestamp(guild.joinedAt.getTime()),
+ "Joined At": guild.joinedAt ? renderTimestamp(guild.joinedAt.getTime()) : "-", // Not available in lurked guild
"Vanity Link": guild.vanityURLCode ? (<a>{`discord.gg/${guild.vanityURLCode}`}</a>) : "-", // Making the anchor href valid would cause Discord to reload
"Preferred Locale": guild.preferredLocale || "-",
"Verification Level": ["None", "Low", "Medium", "High", "Highest"][guild.verificationLevel] || "?",