{"repo":"Snazzah/slash-create","free":true,"listed":false,"github":"https://github.com/Snazzah/slash-create","clone":"git clone https://github.com/Snazzah/slash-create.git","description":"🗡️ Creator and handler for Discord's slash commands","language":"TypeScript","stars":365,"topics":["discord","discord-bot","discord-interactions","slash-commands","slash-command","discord-slash-commands","discord-message-components","hacktoberfest"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Create and sync Discord slash commands. Features - Multiple server support (Express, Fastify, etc.) - Hook into an existing Discord bot client - Sync loaded commands to Discord from slash-create - Load commands from a folder - Command throttling/cooldowns Quickstart 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. After 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: Cloudflare Workers Vercel Heroku Railway :-: :-: :-: :-: Installation Or, using yarn: Using webservers 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 example Examples - Creating a","default_branch":null,"files":null,"tree":[],"storefront":"/r/Snazzah","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Snazzah/slash-create/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}