mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
No commits in common. "3a47acf05fc4e569c678f0cc369afc90700e7ccd" and "30697e502025098c518977674b61d4566fa11c0e" have entirely different histories.
3a47acf05f
...
30697e5020
1 changed files with 5 additions and 1 deletions
|
@ -181,7 +181,11 @@ export default new Command({
|
||||||
`**❯ Server Join Date:** ${moment(member.joinedAt).format("LL LTS")}`,
|
`**❯ Server Join Date:** ${moment(member.joinedAt).format("LL LTS")}`,
|
||||||
`**❯ Hoist Role:** ${member.roles.hoist ? member.roles.hoist.name : "None"}`,
|
`**❯ Hoist Role:** ${member.roles.hoist ? member.roles.hoist.name : "None"}`,
|
||||||
`**❯ Roles:** [${roles.length}]: ${
|
`**❯ Roles:** [${roles.length}]: ${
|
||||||
roles.length == 0 ? "None" : roles.length <= 10 ? roles.join(", ") : trimArray(roles).join(", ")
|
roles.length < 10 && roles.length > 0
|
||||||
|
? roles.join(", ")
|
||||||
|
: roles.length >= 10
|
||||||
|
? roles.slice(0, 10)
|
||||||
|
: "None"
|
||||||
}`
|
}`
|
||||||
]);
|
]);
|
||||||
$.channel.send(embed);
|
$.channel.send(embed);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue