Missing Access for Slash Commands
Your application needs access to application.commands
and application.commands.update
.
You can do all of this by clicking here, going to your Developer Page. You can then select the following on the OAuth2 page:
Incase that doesn't help, you can also read the Discord documentation for Slash Commands