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
After working on the bot for a while, the function that push the commands do stale indefinitely.
The Rest.put call that push all commands blocks, and I believe we do get timeout by discord for doing that so often. (each code reload)
Proposal
Use Rest.get to get all commands schemas and diff with the one we have locally,
if nothing change: don't push,
if a command schema change: push only the changed command.
The text was updated successfully, but these errors were encountered:
After working on the bot for a while, the function that push the commands do stale indefinitely.
The
Rest.put
call that push all commands blocks, and I believe we do get timeout by discord for doing that so often. (each code reload)Proposal
Use Rest.get to get all commands schemas and diff with the one we have locally,
if nothing change: don't push,
if a command schema change: push only the changed command.
The text was updated successfully, but these errors were encountered: