application command registry saying it takes 40 seconds to initalise

the title
No description
25 Replies
iaqi
iaqiOP2mo ago
and it keeps saying it finds differences between api command and my commands every time i start the bot but i never change anything like that
fenix
fenix2mo ago
Do you have the command IDs that are registered in the ‘idHints’?
iaqi
iaqiOP2mo ago
i tried with and without and the same thing happens sapphire has been very buggy for some reason
Favna
Favna2mo ago
This is partially because of networking and partially because of comparisons. Setting idHints definitely should speed it up, but if you're really concerned about it then use bulk overwrite method.
iaqi
iaqiOP2mo ago
well im concerned because its saying its finding differences and my network is good unless its on discords side same thing happened when i had idHints enabled too
Favna
Favna2mo ago
Please show the code of a command that has this issue It is entirely possible that @vladdy 's comparison logic needs fixing
iaqi
iaqiOP2mo ago
okay
vladdy
vladdy2mo ago
i wouldn't put it past me xD
iaqi
iaqiOP2mo ago
No description
vladdy
vladdy2mo ago
hmm interesting
iaqi
iaqiOP2mo ago
its saying its finding differences for every command i do
iaqi
iaqiOP2mo ago
GitHub
GitHub - nicklvh/joewy: Multi-purpose discord bot made in TypeScrip...
Multi-purpose discord bot made in TypeScript, Discord.js and Sapphire - nicklvh/joewy
Favna
Favna2mo ago
Oh hm but that's a very simple one. I had half expected something complex.
iaqi
iaqiOP2mo ago
but its for every command not juse this one
vladdy
vladdy2mo ago
must be some builders shenanigans can you set the default overwrite behavior to verbose overwrite and send the debug logs?
iaqi
iaqiOP2mo ago
okay
iaqi
iaqiOP2mo ago
No description
iaqi
iaqiOP2mo ago
this is what it says i have no idea what integration types are
vladdy
vladdy2mo ago
well that helps me enough eugh ok i'll look into it unless someones faster
Favna
Favna2mo ago
The API or builders implicitly sets integration types?
vladdy
vladdy2mo ago
i think builders might? i need to check
Favna
Favna2mo ago
For now the immediate fix is probably to use bulk overwrite mode @iaqi Unless that conflicts with your bot setup but there are few scenarios where it does
iaqi
iaqiOP2mo ago
okay
kyra
kyra5w ago
cc: @vladdy
iaqi
iaqiOP3w ago
im still getting this issue btw

Did you find this page helpful?