how to send a list of results in a bot message?
# 🤝help
c
Hi, I would like to send in a bot message a list of products from a query. The list is in a form like this: cars = [ { brand: "Toyota", model: "Camry", year: 2018, price: 20000, km: 30000 }, { brand: "Ford", model: "Mustang", year: 2020, price: 35000, km: 15000 }, { brand: "Honda", model: "Civic", year: 2015, price: 15000, km: 50000 } ] The list has a variable lenght based on user's query. How can I display a list of this type in a message that the bot sends to the user? I am trying to use carousel but i have to define first the numbers of cards to display. I want this number to be dynamically associated to result list lenght. Thanks
f
This tutorial from Devmik uses a dynamic carousel https://discord.com/channels/1108396290624213082/1198245171788259409