User Install Event

Hello, I'm new to discord.js; I want my bot to DM the user when he "user installs" my application, I couldn't find an event resembling user install Is what I am trying to accomplish possible with discord.js current iteration?
2 Replies
d.js toolkit
d.js toolkit4w 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!
Despair
DespairOP4w ago
Node: v23.5.0 DiscordJs: v14.17.3 Ah, well the plan is to let the user interact with the bot directly I already am able to DM it commands, but right now I have to invite it to a server and then DM it Which is kind of an annoyance honestly Well then perhaps, I misconfigured it then because I can only run its commands in direct DM or on the server where it is added? So basically an express app, I think I saw an example of this when doing research nvm, I scrolled down and found the code sections lol woops

Did you find this page helpful?