There are extra endpoints that need to be called to register slash commands. We might as well add an API to do this programmatically so that users can do it on startup if not already done.
It looks like you can list registered commands, create, update, and delete commands.
https://discord.com/developers/docs/interactions/slash-commands