@illegalrazer/slash-commands
TypeScript icon, indicating that this package has built-in type declarations

0.14.4 • Public • Published

slash-commands

A NPM package to build SlashCommandBuilder discord.js objects

Slash commands are built according to the file structure inside the commands folder. This folder must be in the root of where the project is executed.

For example, the following file structure will create these commands:

commands
| group1
| | subgroup1
| | | command1.ts
| | command2.ts
| command3.ts
/command 3
/group1 command2
/group1 subgroup1 command 1 

Package Sidebar

Install

npm i @illegalrazer/slash-commands

Weekly Downloads

14

Version

0.14.4

License

ISC

Unpacked Size

27.5 kB

Total Files

20

Last publish

Collaborators

  • illegalrazer