-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use select menus #580
Comments
confirmed |
fixed |
You are amazing! Thank you, so much 😊. |
Actually, I have updated to 2.12.0 and am still having this issue.
|
wut ? |
I'm just trying to select an option from the only menu in the message. await message.selectMenu(['option']); I have tried it in many ways where I specify the selectMenu itself or just use its ID and also using a number for its row. At first it always throws type errors. Such as "SELECT_MENU" is not a valid type. So, I tired to edit the src to include the types. Once I got all the correct types in all the correct places that I could see, I end up getting a DiscordAPIError: invalid form body. I tried digging into the data field of the request and it looked like it was just an array of errors and that is why it was greater than 1 in length. |
i need to know about botId, raw message, command, code, ... |
const botId = '270904126974590976';
const command = 'profile';
const selectMenuOption = 'cooldowns';
const rawMessage = 'Is this the raw message object?';
//await message.selectMenu([selectMenuOption]); |
Raw msg object... |
I have DMd on discord. If you still want to solve this issue, I will give you the details to reproduce this error. |
Which package has the bugs?
The core library
Issue description
Simply just trying to use the string select menu.
Code sample
No response
Package version
2.11.5
Node.js version
16.18.1
Operating system
Linux
Priority this issue should have
Medium (should be fixed soon)
Checklist
Additional Information
No response
The text was updated successfully, but these errors were encountered: