Hi! I have a problem with roleinfo command

Let me explain: roleinfo works with some roles, but not with others.
As I understand it, this does not depend on: the language of the role, the number of characters/words in the role, whether this role is higher than the bot role

roleinfo.js - https://mystb.in/RibbonTalkDistance
Error:
Unhandled promise rejection: CombinedPropertyError (1)
  Received one or more errors
  input[3]
  | CombinedPropertyError (1)
  |   Received one or more errors
  | 
  |   input.value
  |   | ExpectedConstraintError > s.string.lengthGreaterThanOrEqual
  |   |   Invalid string length
  |   | 
  |   |   Expected: expected.length >= 1
  |   | 
  |   |   Received:
  |   |   | ''
    at ArrayValidator.handle (/home/container/node_modules/@sapphire/shapeshift/dist/index.js:473:70)
    at ArrayValidator.parse (/home/container/node_modules/@sapphire/shapeshift/dist/index.js:212:88)
    at EmbedBuilder.addFields (/home/container/node_modules/@discordjs/builders/dist/index.js:225:31)
    at client.embed (/home/container/src/handlers/components/embed.js:203:27)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
image.png
image.png
image.png
image.png
Was this page helpful?