#StringSelect with several values
1 messages · Page 1 of 1 (latest)
There aren't SEVERAL options.
Ummm.
I'm select 7 values
We only want the first (and in this case, only) one.
await inter.response.send_message(f"Your favorite type of animal is: {self.values[0]}")
but inter.values return nothing
Should be able to figure out how to handle multiple since self.values is a list of the selected options.
You should how you're adding the select, but no callback code, so one can only assume you're using a View.
hmmm
Since that is the more common way
If you're not using a view
https://docs.disnake.dev/en/stable/api/interactions.html#disnake.MessageInteraction.values
If you can't figure it out from the docs and guide, then you'll need to provide relevant callback code.
If I am not wrong it should also be in interactiondata
I mean, you can do that, but that's a long way to inter.values.