.addStringOption(option =>
option.setName('Name')
.setDescription('Descreption')
.setRequired(true)
.addChoices())
Im having a problem with .addChoices()
Previous version I used .addChoice('displayName', 'id') multiple times but that function seems to not exist any longer
What arguments does .addChoices() take? The docs say
...Array <APIApplicationCommandOptionChoice<string >>
but Im not familiar enough to understand what that means