From 1cefaaab559c2a99902051b5010ed4b78a8efc5e Mon Sep 17 00:00:00 2001 From: bignutty <3515180-bignutty@users.noreply.gitlab.com> Date: Fri, 9 Aug 2024 11:38:36 +0200 Subject: [PATCH] fix position --- commands/message/info/role.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/message/info/role.js b/commands/message/info/role.js index 7d9e537..ac708c4 100644 --- a/commands/message/info/role.js +++ b/commands/message/info/role.js @@ -108,7 +108,7 @@ module.exports = { author: { name: r.name }, - description: `${smallPill("ID ")} ${pill(r.id)}\n${smallPill("Position ")} ${pill(`${r.position}/${context.guild.roles.length}`)}\n${smallPill("Hoisted ")} ${pill(`${r.hoist}`)}` + description: `${smallPill("ID ")} ${pill(r.id)}\n${smallPill("Position ")} ${pill(`${context.guild.roles.length - r.position}/${context.guild.roles.length}`)}\n${smallPill("Hoisted ")} ${pill(`${r.hoist}`)}` }) if(!r.name.startsWith("@") && r.mentionable) rolePage.author.name = "@" + r.name;