PyPI has documentation for the discord-py-slash-command Bot API. To use slash commands, your bot must have "use slash commands" permission on the server.