[SOLVED] TypeError (intermediate value).setCustomId(...).setTitle is not a function

Where is the creation guide, v14 broke my modals

    const configurationModal = new ModalBuilder()
      .setCustomId(`errorConfigurationModal`)
      .setTitle('⚙️ Bot Configuration')
      //.setDescription('**Warning** This is not the server configuration! This is the entire bot domain!!!')
      new ActionRowBuilder().addComponents(
        new TextInputBuilder()
        .setCustomId('errorLog_channel')
        .setTitle('Error Channel ID')
        .setDescription('The channel all errors are directed into. To disable, set to 0.')
        .setDefaultValue(errorChannel_ID)
        .setStyle('Short')
        .setRequired(true)
      )

Last time I checked, this was the correct way to make modals-
Was this page helpful?