Решил разобраться с компонентами. Для начала создал кнопку, но как подключить ее к сообщению не знаю. Порылся в документации и в интернете - везде пишут components = [Button(...)].
Вот только у меня выдает ошибку:
TypeError: Interaction.send() got an unexpected keyword argument 'components '
Хелп плиз.
@bot.slash_command(description="Тест команда")
async def test(interaction: disnake.CommandInteraction):
await interaction.send('Hello', components = [[Button(style=ButtonStyle.grey, label='№1', custom_id="button1")]])