Create and sync Discord slash commands!
npm install slash-create
    
Create and sync Discord slash commands.
If you want an easy start on getting slash commands on your bot, you can use slash-up to create a project using a template.
```
npx slash-up inityarn start
After creating a project, you can edit commands to your liking and start it up with .
You can also deploy a slash-create template to the following services:
| Cloudflare Workers | Vercel | Heroku | Railway |
|:-:|:-:|:-:|:-:|
|  |  |  |  |
sh
npm i slash-create
`
Or, using yarn:
`sh
yarn add slash-create
`$3
In order to use a specific webserver, you will need to install the dependency associated with that server. The following server types require these dependencies:
- AWSLambdaServer: none technically, meant for use with AWS Lambda and Amazon API Gateway, see example
- AzureFunctionServer: none technically, meant for use with Azure Functions, see example
- BunServer: none, meant for use in the Bun runtime
- CloudflareWorkerServer: none, only available in the web export via slash-create/web
- ExpressServer: express
- FastifyServer: fastify
- GenericServer: none, used for frameworks that use the Request and Response objects, see example
- GatewayServer: none, see example
- GCFServer: none technically, meant for use with @google-cloud/functions-framework, see example
- VercelServer: none, see exampleExamples
- Creating a SlashCreator
- Using Webservers
- Using AWSLambdaServer
- Using AzureFunctionV4Server
- Using GCFServer
- Using VercelServer
- Using GenericServer`##### Resources & References
This project borrows resources and references from the following repositories:
- dbots.js
- eris
- discord.js
- Commando
- slash-worker
- slash-commands
- discord-interactions