#Refreshing registered commands

11 messages · Page 1 of 1 (latest)

marble moss
#

Hi, I add a feature flag turned off and now I'm turning it on, so it composes more commands to be registered. I'm not registering them globally, yet they're still not appearing in my guilds. How long does it usually take?

swift quailBOT
#

• 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.

marble moss
keen jewel
#

If you deploy commands they should appear almost instantly.

marble moss
#

@keen jewel the new ones are applied for one server but for the other they do not

raw patrol
#

The flags are per guild or global?

#

Bc looks like you are registering commands by guild, so you will need to re-register for each guild (Use global commands if you can)

marble moss
#

they're per guild, because i only have two guilds and i remembered they load faster @raw patrol

#

took a break since DJS 13.7 - did that behavior change?

raw patrol
#

So you need to redeploy for each guild when it changes

raw patrol