context menu doesn't support ComponentV2 ?

I've tried sending message from context menu command with componentV2 but its throws
Invalid Form Body
Invalid Form Body
instead
6 Replies
d.js toolkit
d.js toolkit5mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
chewie
chewie5mo ago
show code and the full error
d.js docs
d.js docs5mo ago
To share long code snippets, use a service like gist, sourcebin, pastebin, or similar instead of posting them as large code blocks or files.
qwrts
qwrtsOP5mo ago
Gist
contextMenuResponse.js
GitHub Gist: instantly share code, notes, and snippets.
chewie
chewie5mo ago
I already see the issue you didn't set the flags properly You should be using | and not || || means or, which in this case would never happen since the ephemeral flag returns a truthy value
qwrts
qwrtsOP5mo ago
dang. got it thank you

Did you find this page helpful?