I have problem with adding new option to my command
I think i should open this post because anyone can't find any solution.
I added a new StringOption to my setwelcomechannel command i deployed it a lot of times but it still showing only ChannelOption not showing StringOption
35 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.node 16.17.1
djs 13.10.3
Could you console log the commands array?
The one that you are sending to discord
@jpbm135
What registered means in this context?
That the command was added to the cache
Or that it deployed to discord?
deployed to discord
Can you show the deploy code
?
1 second i am opening laptop
Okie
Yep, this isnt registering to discord
This is:
You need to deploy your commands again to discord using smt like this script
wdym
Read the thing I sent you
Bc this is registering commands to your bot cache
You need to tell discord itself, hey I changed this command, deploy it again to all users
also i am using this
This is what I mean
You need to run this script
but its running
@jpbm135
Could you console log the
commands
?i will try it on home i am not at home now
Okk
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
where i should use it than
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Yeah, there's also that
i looked deploy-commands.js on site
but i didnt understand how to deploy commands
it will work after i create it
or am i should do something for deploying commands
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
oh
okay
coz it isnt
i didnt changed anything
im so stupid
it works now thanks