create an embed, where you click a button and it will open a DM with the bot?
Is it possible for discord.js to create an embed, where you click a button and it will open a DM with the bot that created that embed?
We want users to DM our bot in an easy and intuitive manner
4 Replies
- 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 staffNo
You'll have to send a message and then redirect them to it
I had read in various places that Discord gives higher rate limits if a user DMs a bot first. Wasn't able to find that in official docs or anything, but would still like to try and do that, if possible
Is there any other easy way for a user to DM my bot first? Right now they go on my website, and they click a button to add the bot as a user app, then they go into discord and do a slash command, and then they can DM it. Would like to optimize that if possible
they can just open the profile of the app and open its dm
Though i dont think you can just dm a user app, you would need an interaction