Closed tiltowait closed 3 years ago
Thx again for reporting and thx for your patience!
I tried to reproduce it with the example code but for me it works, it gives me a SelectMenu with .selected_values
, maybe try to update?
ah wait now I got the issue! I'll fix it
Okay seems like I somehow fixed it, I just gotta upload the new version, thx for reporting! ❤
According to the docs,
discord_ui.Message.wait_for("select", ...)
returns aSelectedMenu
item; however, in my testing, it returns aComponentContext
object. Importantly, the latter lacks aselected_values
item; in order to access the selection, I have to usecomponent.data["values"]
.This discrepancy also affects this line in the example code.