duckodas / DJS-Ticket-System-v14

DJS Ticket System v14 with buttons and selection menus
MIT License
7 stars 2 forks source link

I am getting issue while creating ticket #1

Open Habeeb30 opened 2 years ago

Habeeb30 commented 2 years ago

Unhandled Rejection/Catch

Reason

ExpectedConstraintError > s.string.lengthGreaterThanOrEqual
  Invalid string length

  Expected: expected.length >= 1

  Received:
  | ''

    at Object.run (/app/node_modules/@sapphire/shapeshift/dist/index.js:1503:79)
    at /app/node_modules/@sapphire/shapeshift/dist/index.js:113:66
    at Array.reduce (<anonymous>)
    at StringValidator.parse (/app/node_modules/@sapphire/shapeshift/dist/index.js:113:29)
    at ButtonBuilder.setLabel (/app/node_modules/@discordjs/builders/dist/index.js:535:44)
    at Object.execute (/app/Commands/Staff/Ticket.js:187:16)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Promise

Promise {
  <rejected> [ExpectedConstraintError: s.string.lengthGreaterThanOrEqual]

      at Object.run (/app/node_modules/@sapphire/shapeshift/dist/index.js:1503:79)
      at /app/node_modules/@sapphire/shapeshift/dist/index.js:113:66
      at Array.reduce (<anonymous>)
      at StringValidator.parse (/app/node_modules/@sapphire/shapeshift/dist/index.js:113:29)
      at ButtonBuilder.setLabel (/app/node_modules/@discordjs/builders/dist/index.js:535:44)
      at Object.execute (/app/Commands/Staff/Ticket.js:187:16)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
}
duckodas commented 2 years ago

Is it possible that there is somewhere that you removed like a description or something like that