mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01: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