Trying to figure out why my user app doesn't work in direct messages.
Is there something that need to be enabled during command registration for user apps to work in dms?
Is there something that needs to be enabled in the developer portal.
Does it have to be a verified bot?
6 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!ok I think I solved it... I think I need wait for global commands to update to know for sure
https://discord.js.org/docs/packages/builders/main/ChatInputCommandBuilder:Class#setContexts
I think this is correct
did you deploy them globally or within a guild?
https://discordjs.guide/creating-your-bot/command-deployment.html#global-commands
Global application commands will be available in all the guilds your application has the applications.commands scope authorized in, and in direct messages by default.
globally
I know it can take a while to update globally
its instant now, you just need to reload
ctrl+R
ok
thanks
it's working now