package
Create and sync Discord slash commands!
npm install slash-createGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
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 initAfter creating a project, you can edit commands to your liking and start it up with yarn start.
You can also deploy a slash-create template to the following services:
npm i slash-createOr, using yarn:
yarn add slash-createIn 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 exampleAzureFunctionServer: none technically, meant for use with Azure Functions, see exampleThis project borrows resources and references from the following repositories:
BunServer: none, meant for use in the Bun runtimeCloudflareWorkerServer: none, only available in the web export via slash-create/webExpressServer: expressFastifyServer: fastifyGenericServer: none, used for frameworks that use the Request and Response objects, see exampleGatewayServer: none, see exampleGCFServer: none technically, meant for use with @google-cloud/functions-framework, see exampleVercelServer: none, see exampleGCFServerEstimated unpacked size across 5 packages.
2.8 MB
Includes dependencies.
4 direct · 1 outdated