Socket
Socket
Sign inDemoInstall

slash-create

Package Overview
Dependencies
127
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    slash-create

Create and sync Discord slash commands!


Version published
Weekly downloads
686
increased by33.2%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

[6.1.3] - 2024-04-24

Fixed:

  • Updated undici to fix a low severity CVE (CVE-2024-24758)

Readme

Source

NPM version NPM downloads ESLint status DeepScan grade discord chat

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.

npx slash-up init

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 WorkersVercelHerokuRailway
Deploy to Cloudflare WorkersDeploy with VercelDeployDeploy on Railway

Installation

npm i slash-create

Or, using yarn:

yarn add slash-create

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:

Examples

Resources & References

This project borrows resources and references from the following repositories:

Keywords

FAQs

Last updated on 24 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc