#No work discord.js v14 to new MessageInput

1 messages · Page 1 of 1 (latest)

vagrant saffron

if(commandName == '###') {
const ownerId = interaction.guild.id;
const row = new ActionRowBuilder().addComponents(
new MessageInput()
.setCustomId('input')
.setPlaceholder('##')
.setMultiline(true) // 여러 줄 입력을 허용하려면 true로 변경
);

          // 대화 상자 생성
          await interaction.reply({
            content: '##!',
            components: [row],
          });
        }