You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have a chat input command and you have made no changes to the command data
After restarting your bot, it will go detect changes even when there are no changes!
It results in unnecessary api calls for updating and slows down the startup a lot if you got more commands
I tried to debug it and found that it has something to do with this as this is where these are hashed, but I think you will know it better
Steps To Reproduce
Have a basic bot with ping command made with builders not tested without builders
Is there an existing issue for this?
Description of the bug
When you have a chat input command and you have made no changes to the command data
After restarting your bot, it will go detect changes even when there are no changes!
It results in unnecessary api calls for updating and slows down the startup a lot if you got more commands
I tried to debug it and found that it has something to do with this as this is where these are hashed, but I think you will know it better
Steps To Reproduce
not tested without builders
Once your command is registered, stop your bot and restart
Make sure your Register behavior is either
LogToConsole
orOverwrite
(overwrite causes api calls, log causes warn loggings)see that even when you didn't make any changes it says found differences and updates, more commands more time it takes
Expected behavior
It should detect properly that there are no changes! So no updates
Screenshots
No response
Additional context
Proper versions for your ease
The text was updated successfully, but these errors were encountered: