options

Deprecated (with error)

This is only available for 'ComponentType.StringSelect' (in the 'StringSelectBuilder' subclass).

Replace with

import dev.kord.rest.builder.component.StringSelectBuilder
import dev.kord.rest.builder.component.options
(this as? StringSelectBuilder)?.options ?: mutableListOf()

The choices in the select, max 25.