Command Registering extremely slow
Everytime i start my bot the first 5 commands register within 200ms each. but almost always the next command takes at least 20 seconds to register. and sometimes (not shown in the image) the last command just never registers.
4 Replies
Use the batch registration function
Command registration is rate limited
You should install an SLF4J implementation, then you would also see the rate limiter logs
is there any documentation for that?
Kord doesn't really have much documentation outside of the KDoc comments
kord.createGlobalApplicationCommands
and guild.createApplicationCommands
are what you're looking for
alternatively, use a framework (https://docs.kordex.dev/framework-comparison.html)