diff --git a/commands/message/info/role.js b/commands/message/info/role.js index 251b5b7..7d9e537 100644 --- a/commands/message/info/role.js +++ b/commands/message/info/role.js @@ -111,6 +111,7 @@ module.exports = { description: `${smallPill("ID ")} ${pill(r.id)}\n${smallPill("Position ")} ${pill(`${r.position}/${context.guild.roles.length}`)}\n${smallPill("Hoisted ")} ${pill(`${r.hoist}`)}` }) + if(!r.name.startsWith("@") && r.mentionable) rolePage.author.name = "@" + r.name; if(r.color === 0) rolePage.author.iconUrl = `https://lh3.googleusercontent.com/akBt-2Rz3efGuxAnOoSJbGuaqxZuRAI7ZUYKBgYZLT4vsk34qVWoAm3o6--RxupzZpayLSRsxO1LCwBECyBT_giQ3xhLMR03z7xngvm4m9ZgQ2Gya1i-3Q=w256-h256-bc0x0055aa-fcrop64=1,0000000000010001-rj-b36-c0x${DEFAULT_ROLE_COLOR}` else { rolePage.description += `\n${smallPill("Color ")} ${pill("#" + r.color.toString(16))}`