fetching command choices

hihi! i have a bit of a complicated command https://gist.github.com/ash-development/51b240f1db0e10b37994b6024263dc52

i have built this command of a previous one i built, but the main change is the team "option". i am currently getting the below error when trying to load the command:
CombinedPropertyError (1)
  Received one or more errors

  input[0]
  | CombinedPropertyError (2)
  |   Received one or more errors
  |
  |   input.name
  |   | MissingPropertyError > name
  |   |   A required property is missing
  |
  |   input.value
  |   | MissingPropertyError > value
  |   |   A required property is missing

    at ArrayValidator.handle (C:\Users\Ty\IdeaProjects\mainBot\node_modules\@sapphire\shapeshift\dist\index.js:473:70)
    at ArrayValidator.parse (C:\Users\Ty\IdeaProjects\mainBot\node_modules\@sapphire\shapeshift\dist\index.js:212:88)
    at MixedClass.addChoices (C:\Users\Ty\IdeaProjects\mainBot\node_modules\@discordjs\builders\dist\index.js:1763:22)
    at C:\Users\Ty\IdeaProjects\mainBot\src\commands\team.js:16:18
    at MixedClass._sharedAddOptionMethod (C:\Users\Ty\IdeaProjects\mainBot\node_modules\@discordjs\builders\dist\index.js:2080:50)
    at MixedClass.addStringOption (C:\Users\Ty\IdeaProjects\mainBot\node_modules\@discordjs\builders\dist\index.js:2052:17)
    at Object.<anonymous> (C:\Users\Ty\IdeaProjects\mainBot\src\commands\team.js:11:10)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)


any help would be greatly appreaciated ^~^
Gist
GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?