30 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!It's not supported in d.js yet, it should be in the next release
Oh ok also in d.js v15?
Ah ok Nice thank you
But why are there bots that can already do it?
Because they manually add the data to the json sent to the API
You can also do that yourself, or wait for the lib to support it next version
Ah ok thanks
Eta for next version?
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
:wah:
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Fair
Discord.js does receive the interactions from user installed apps and responses to them so as long as you deploy the slash commands as user installed it will just work without the guild and channel data as far as I’ve seen so far.
Did you know how i can make taht?
thats how I decided to do it if someone has better ideas I'm open to suggestions!
Ok thanks
My apolgoizes! I did mean
interaction.guild.available
I was typing from memory.Do you know how i make the User install Code?
Thank you for that incite I did not look at it previously it does check
interaction.guild
inside inGuild()
!Yes
Ok thanks i try it
Oh sorry
How i make That (sry i am Not so Long working whith That)
I have make it so
Unknown User•4mo ago
Message Not Public
Sign In & Join Server To View
unrelated but you can also do it a bit more efficiently using the spread syntax
yeah i mean less characters written. it is slower but he seem to only be registering on startup so ig it kinda doesnt matter
Is it so right?
Oh yes its working
Thanks for help me