Slash Command Register
commands in my server only register for me, when anyone else trys to use them they dont exist
Node Version: 20.11.1
Discord.js Version: 14.15.2
This is how i register my commands below
:
Code: https://gist.github.com/SkullGaming31/4ba460f861218c24211e1269ccae5ad14 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 OPi thought that was optional
oh, no its not set
yea, i can see them and no one else can in my server
my bot is only in my server right now while im codeing it
i used my backup account and restarted discord multiple times just to make sure that wasnt the issue, and still cant see they
nope
yes
i gotta wait an hour and see if the commands register in my main server
when using the guildId, doesnt global commands take an hour?
i have a test bot and a main bot, the main bot that will be added to other servers is in my main server which uses global commands my test bot uses its guildId to register commands
oh, then the commands are not showing still in my main guild for other users
yes, i even reinvited the bot back into the server just incase and still nothing
that was the main guild, the override has been removed when the bot was re-invited to the server and nothing
im not sure what i did but commands are now working