ComponentsV2

Is componentsV2 still based off slash commands ?
16 Replies
d.js toolkit
d.js toolkit6mo 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!
chewie
chewie6mo ago
no and never was?
bank?
bank?OP6mo ago
How exactly does it work then ?? :Thonk:
bank?
bank?OP6mo ago
Yeah, but like that barely explains it
chewie
chewie6mo ago
it definitely does?
Deimoss
Deimoss6mo ago
You can send components in any message, it doesn't have to be a reply to a slash command
bank?
bank?OP6mo ago
But that’s what I want it to do lol
Deimoss
Deimoss6mo ago
Then uhh do that :dogeHaHa:
bank?
bank?OP6mo ago
tried :shrug: . Just returned an error lol
Deimoss
Deimoss6mo ago
What's the error?
Samtino
Samtino6mo ago
When sending a ComponentsV2 message, you have to supply the IsComponentsV2 flag and you can't have a content or embeds value at all in the message payload But more details about your error message in particular will be helpful
bank?
bank?OP6mo ago
I got it figured out, but I have another question What all does Components support?
bank?
bank?OP6mo ago
thanks How exactly can we edit, fetch components, to create another component for the same command ? There’s 0 documentation about this as the documentation isnt very in depth
Samtino
Samtino6mo ago
This one is the guide on ComponentsV2. And this is the faq on ComponentsV2 https://discord.com/channels/222078108977594368/1370478227872551032 What particular thing are you trying to do?

Did you find this page helpful?