From 411c084d46a0ccbfbaeac4b561fb1a061a7c7d25 Mon Sep 17 00:00:00 2001 From: hcs1219 <87796473+hcs1219@users.noreply.github.com> Date: Mon, 22 May 2023 02:08:27 +0800 Subject: [PATCH] Update userinfo.js --- command/Information/userinfo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/command/Information/userinfo.js b/command/Information/userinfo.js index 6d0ba10..8ff2c05 100644 --- a/command/Information/userinfo.js +++ b/command/Information/userinfo.js @@ -33,8 +33,7 @@ module.exports = { const roles = member.roles.cache .filter(r => r.id != interaction.guild.id) .sort((a, b) => b.position - a.position) - .map(role => role.toString()) - .slice(0, -1); + .map(role => role.toString()); const createDateFormatted = utils.parseDate( new Date(member.user.createdAt) );