11 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 OPyou appear to still have code for registering both guild commands and global commands
your comments seem to indicate that you know this
even if i reset them
await rest.put(
Routes.applicationCommands(clientId),
{ body: [] } // Resetting global commands
);
yes I understand that, but if you continue to register the same commands as both guild and global commands, you'd just be undoing this reset
so should i register 1 only
if you don't want global commands, don't register them, yes
kk
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
(this was continued from https://discord.com/channels/222078108977594368/824411059443204127/1242550472364130345)
thanks for helping