K
Kord5mo ago
Spectra

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.
No description
4 Replies
gdude
gdude5mo ago
Use the batch registration function Command registration is rate limited
SchlaubiBus
SchlaubiBus5mo ago
You should install an SLF4J implementation, then you would also see the rate limiter logs
Spectra
SpectraOP5mo ago
is there any documentation for that?
gdude
gdude5mo ago
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)
Want results from more Discord servers?
Add your server