Slash commands are not registered

Hello,

Every time my bot starts up, it never finishes saving commands. It deletes the old commands, and then when it wants to save the new ones, it doesn't work. It has happened before, but right now it can't deploy properly. Does anyone know how I can fix this? I've included my code below.
Was this page helpful?