root@docker:/opt/docker/tg-bot-ts# docker exec tg-bot-ts npx ts-node src/index.ts --register
Logged in as The Arbiter#9050
Messages loaded — 8 user file(s).
/app/node_modules/@sapphire/shapeshift/src/constraints/ArrayConstraints.ts:35
}
^
ExpectedConstraintError: Invalid Array length
    at Object.run (/app/node_modules/@sapphire/shapeshift/src/constraints/ArrayConstraints.ts:35:1)
    at /app/node_modules/@sapphire/shapeshift/src/validators/BaseValidator.ts:126:2
    at Array.reduce (<anonymous>)
    at _ArrayValidator.parse (/app/node_modules/@sapphire/shapeshift/src/validators/BaseValidator.ts:126:2)
    at validateMaxOptionsLength (/app/node_modules/@discordjs/builders/src/interactions/slashCommands/Assertions.ts:42:26)
    at validateRequiredParameters (/app/node_modules/@discordjs/builders/src/interactions/slashCommands/Assertions.ts:57:2)
    at MixedClass.toJSON (/app/node_modules/@discordjs/builders/src/interactions/slashCommands/mixins/SharedSlashCommand.ts:151:3)
    at registerCommands (/app/src/index.ts:25:62)
    at Client.<anonymous> (/app/src/index.ts:63:11)
    at Object.onceWrapper (node:events:634:26) {
  constraint: 's.array(T).lengthLessThanOrEqual()',
  given: [
    SlashCommandSubcommandBuilder {
      name: 'set-lock-message',
      name_localizations: undefined,
      description: 'Set default lock message',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'reset-lock-message',
      name_localizations: undefined,
      description: 'Reset lock message to default',
      description_localizations: undefined,
      options: []
    },
    SlashCommandSubcommandBuilder {
      name: 'set-confirm-message',
      name_localizations: undefined,
      description: 'Set default confirm message',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'reset-confirm-message',
      name_localizations: undefined,
      description: 'Reset confirm message to default',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'set-officer-roles',
      name_localizations: undefined,
      description: 'Set officer roles (comma-separated)',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'add-officer-role',
      name_localizations: undefined,
      description: 'Add an officer role',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'remove-officer-role',
      name_localizations: undefined,
      description: 'Remove an officer role',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'reset-officer-roles',
      name_localizations: undefined,
      description: 'Reset officer roles to default',
      description_localizations: undefined,
      options: []
    },
    SlashCommandSubcommandBuilder {
      name: 'set-config-roles',
      name_localizations: undefined,
      description: 'Set config roles (comma-separated)',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'add-config-role',
      name_localizations: undefined,
      description: 'Add a config role',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'remove-config-role',
      name_localizations: undefined,
      description: 'Remove a config role',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'reset-config-roles',
      name_localizations: undefined,
      description: 'Reset config roles to default',
      description_localizations: undefined,
      options: []
    },
    SlashCommandSubcommandBuilder {
      name: 'set-tag-roles',
      name_localizations: undefined,
      description: 'Set roles to tag on confirm (comma-separated)',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'add-tag-role',
      name_localizations: undefined,
      description: 'Add a tag role',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'remove-tag-role',
      name_localizations: undefined,
      description: 'Remove a tag role',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'reset-tag-roles',
      name_localizations: undefined,
      description: 'Reset tag roles to default',
      description_localizations: undefined,
      options: []
    },
    SlashCommandSubcommandBuilder {
      name: 'set-poll-channel',
      name_localizations: undefined,
      description: 'Set poll channel',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'set-results-channel',
      name_localizations: undefined,
      description: 'Set results channel',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'set-score-channel',
      name_localizations: undefined,
      description: 'Set score channel',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'add-slot',
      name_localizations: undefined,
      description: 'Add a TG slot',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'remove-slot',
      name_localizations: undefined,
      description: 'Remove a TG slot',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'set-score-window',
      name_localizations: undefined,
      description: 'Set score submission window (hours)',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'set-tg-duration',
      name_localizations: undefined,
      description: 'Set TG duration (minutes)',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'set-nation-source',
      name_localizations: undefined,
      description: 'Set source of truth nation',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'set-wrank-goal',
      name_localizations: undefined,
      description: 'Set W.Rank TG goal',
      description_localizations: undefined,
      options: [Array]
    },
    SlashCommandSubcommandBuilder {
      name: 'set-wrank-post-on-reset',
      name_localizations: undefined,
      description: 'Post leaderboard on weekly reset?',
      description_localizations: undefined,
      options: [Array]
    }
  ],
  expected: 'expected.length <= 25'
}