revert: support for nested arrays of components, fix error handling (#6081)

This commit is contained in:
monbrey
2021-07-12 16:53:27 +10:00
committed by GitHub
parent dee5c83fc0
commit 1dcad051a8
8 changed files with 15 additions and 23 deletions

View File

@@ -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