We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
discord.js
in discord.js v13 I can send buttons with new line using MessageActionRow, MessageButton
new MessageActionRow().addComponents( new MessageButton() .setStyle('PRIMARY') .setLabel(`${i + 1}: ${V.title.slice(0, 50)} (${V.timestamp})`) .setCustomId(JSON.stringify({ videoId: V.videoId, id: interaction.user.id })), )
but discordjs v14 MessageActionRow, MessageButton are seems deprecated and buttons dosen't create new line between them ``
const buttons = [new ButtonBuilder() .setCustomId(String(index)) .setLabel( `${title} - ${artists?.at(0)?.name} - ${formatSecondsToTime( duration?.totalSeconds ?? -1, )}`, ) .setStyle(ButtonStyle.Primary)]; const row = new ActionRowBuilder<ButtonBuilder>().addComponents(buttons);
Can discord.js v14 support this feature?
No response
The text was updated successfully, but these errors were encountered:
you just need to put a button per row, and not all the buttons in the same row
Sorry, something went wrong.
No branches or pull requests
Which application or package is this feature request for?
discord.js
Feature
in discord.js v13
![image](https://private-user-images.githubusercontent.com/46806498/293450583-361054ab-4c36-49a5-8087-bfa693ba5175.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDI2MTksIm5iZiI6MTczOTE0MjMxOSwicGF0aCI6Ii80NjgwNjQ5OC8yOTM0NTA1ODMtMzYxMDU0YWItNGMzNi00OWE1LTgwODctYmZhNjkzYmE1MTc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDIzMDUxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1ZGU0N2NhMDY4MjY0YTY1MGEzZjY3MmVkMTIwN2FiMTcxNzgxOGIxZTI2MTA1NGZkMWY0Mzc1NWI2ZDg2NTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cmE1F6KA98R0G7GSCwCocgb7jQP3EYwTDVZwJUJ2Cbc)
I can send buttons with new line using MessageActionRow, MessageButton
but discordjs v14 MessageActionRow, MessageButton are seems deprecated
``
and buttons dosen't create new line between them
Ideal solution or implementation
Can discord.js v14 support this feature?
Alternative solutions or implementations
No response
Other context
No response
The text was updated successfully, but these errors were encountered: