I have a problem with a Select Menu #9491
Answered
by
LostLuma
exoristos54
asked this question in
Q&A
-
I'm new to programming Discord bots and I'm trying to create a Select Menu. I don't understand why it fails despite having all the Privileged Gateway Intents. When interacting with the bot, I get an "Interaction Failed" message. What could be the cause of the error?
|
Beta Was this translation helpful? Give feedback.
Answered by
LostLuma
Jul 10, 2023
Replies: 1 comment 4 replies
-
Hello, to make a Select work properly you'll need to handle the Interaction that is sent to the application when the user has selected something. You can do this by overwriting the callback method in a subclass, there is a full example here alongside other interaction / UI related examples in that same folder. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
exoristos54
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, to make a Select work properly you'll need to handle the Interaction that is sent to the application when the user has selected something. You can do this by overwriting the callback method in a subclass, there is a full example here alongside other interaction / UI related examples in that same folder.