mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 19:08:20 +00:00
revert: support for nested arrays of components, fix error handling (#6081)
This commit is contained in:
@@ -434,6 +434,7 @@ client.on('interaction', async interaction => {
|
||||
|
||||
await interaction.reply({ content: 'Hi!', components: [actionRow] });
|
||||
|
||||
// @ts-expect-error
|
||||
await interaction.reply({ content: 'Hi!', components: [[button]] });
|
||||
|
||||
// @ts-expect-error
|
||||
|
||||
Reference in New Issue
Block a user