Skip to content

🗡️ Creator and handler for Discord's slash commands

License

Notifications You must be signed in to change notification settings

multimeric/slash-create

 
 

Repository files navigation

NPM version NPM downloads ESLint status DeepScan grade discord chat

Create Discord slash commands similar to Discord.JS Commando.

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.

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

Useful Links

Resources & References

This project borrows resources and references from the following repositories:

About

🗡️ Creator and handler for Discord's slash commands

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.7%
  • Other 0.3%