Hello, I would like to know how to call the functionality that only one user can see the message, th

Hello, I would like to know how to call the functionality that only one user can see the message, the typical message that says that only you can see it, and the functionality that when I put the prefix can see the commands that my bot has.
7 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!
monbrey
monbrey11mo ago
Youre referring to slash commands and ephemeral replies
AL3M4ND1Y3
AL3M4ND1Y3OP11mo ago
Yes
d.js docs
d.js docs11mo ago
:guide: Creating Your Bot: Creating slash commands read more
AL3M4ND1Y3
AL3M4ND1Y3OP11mo ago
so
No description
Gripz
Gripz11mo ago
while in response object, set ephemeral
interaction.reply({content: 'Whatever your messages is', ephemeral: true})
interaction.reply({content: 'Whatever your messages is', ephemeral: true})
AL3M4ND1Y3
AL3M4ND1Y3OP11mo ago
Thanks

Did you find this page helpful?