diff --git a/src/commands/info.ts b/src/commands/info.ts index 1a6b401..d87044f 100644 --- a/src/commands/info.ts +++ b/src/commands/info.ts @@ -183,10 +183,11 @@ export default new Command({ `**❯ Server Join Date:** ${moment(member.joinedAt).format("LL LTS")}`, `**❯ Hoist Role:** ${member.roles.hoist ? member.roles.hoist.name : "None"}`, `**❯ Roles:** [${roles.length}]: ${ - roles.length == 0 ? "None" - : roles.length <= 10 - ? roles.join(", ") - : trimArray(roles).join(", ") + roles.length < 10 + ? roles.join(", ") + : roles.length > 10 + ? this.client.utils.trimArray(roles) + : "None" }` ]); $.channel.send(embed);