mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
Tweak !user/!userinfo styles
This commit is contained in:
parent
76d4efcaf3
commit
d276d8e28a
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ export async function getUserInfoEmbed(
|
||||||
name: preEmbedPadding + "Member information",
|
name: preEmbedPadding + "Member information",
|
||||||
value: trimLines(`
|
value: trimLines(`
|
||||||
Joined: **${joinAge} ago** (\`${joinedAt.format("MMM D, YYYY [at] H:mm [UTC]")}\`)
|
Joined: **${joinAge} ago** (\`${joinedAt.format("MMM D, YYYY [at] H:mm [UTC]")}\`)
|
||||||
${roles.length > 0 ? "Roles: `" + roles.map(r => r.name).join("`, `") + "`" : ""}
|
${roles.length > 0 ? "Roles: " + roles.map(r => r.name).join(", ") : ""}
|
||||||
`),
|
`),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ export async function getUserInfoEmbed(
|
||||||
});
|
});
|
||||||
|
|
||||||
const caseSummary = cases.slice(0, 3).map(c => {
|
const caseSummary = cases.slice(0, 3).map(c => {
|
||||||
return `${CaseTypes[c.type]} (\`#${c.case_number}\`)`;
|
return `${CaseTypes[c.type]} (#${c.case_number})`;
|
||||||
});
|
});
|
||||||
|
|
||||||
const summaryText = cases.length > 3 ? "Last 3 cases" : "Summary";
|
const summaryText = cases.length > 3 ? "Last 3 cases" : "Summary";
|
||||||
|
|
Loading…
Add table
Reference in a new issue