#TextInputStyle not available?

1 messages · Page 1 of 1 (latest)

wicked wigeon

i am trying to create a modal, but im unable to do so because TextInputStyle is not available. does not provide any imports or anything...

const favoriteColorInput = new TextInputBuilder()
            .setCustomId('favoriteColorInput')
            // The label is the prompt the user sees for this input
            .setLabel("What's your favorite color?")
            // Short means only a single line of text
            .setStyle(TextInputStyle.Short);