Simple question

How is like context menu worth it? like I don't see a much of a need in it but I'm just curious and wanna know how it's better, how it can like make things easier, just anything, thanks
13 Replies
d.js toolkit
d.js toolkit11mo 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
-Carlos👑
-Carlos👑11mo ago
there are a lot of uses for context menus, for example making a "Report Message" feature "Report User", "Userinfo", etc
Shrewd 💫
Shrewd 💫OP11mo ago
oh so you rightclick an user and click the context menu button?
-Carlos👑
-Carlos👑11mo ago
yes, you can also do it with messages
Shrewd 💫
Shrewd 💫OP11mo ago
with messages? that's interesting
-Carlos👑
-Carlos👑11mo ago
yeah
Shrewd 💫
Shrewd 💫OP11mo ago
is there any guide to set it up along with deploy-commands or
Danial
Danial11mo ago
They're also application commands so you'd deploy them as you would with slash commands
d.js docs
d.js docs11mo ago
:guide: Other Interactions: Context Menus read more
Shrewd 💫
Shrewd 💫OP11mo ago
but would i register them in commands folder or can i pick different wouldnt want to have them in slash commands
Danial
Danial11mo ago
Then you'd need to change the way your commands are loaded Also, there's no "better" here, two different things with different use cases
xx_lavaboy_xx123
xx_lavaboy_xx12311mo ago
the guide should be using globSync instead of readdirSync tbh
Shrewd 💫
Shrewd 💫OP11mo ago
alright, thank y'all
Want results from more Discord servers?
Add your server