UNPKG

@mxgnus/slashcommands.js

Version:

A simple discord.js v13 & v14 slash command package

40 lines (22 loc) 1 kB
# 🚀 Getting started ## [📝 Documentation](https://slashcommands.mxgnus.de) ### Before you start If you still use discord.js version 13, you need to install `npm i @mxgnus/slashcommands.js@2` ### Installation Use the node package manager [npm](https://nodejs.org/en/download/) to install @mxgnus/slashcommands.js. ```bash npm i @mxgnus/slashcommands.js ``` Use the yarn package manager [yarn](https://yarnpkg.com/) to install @mxgnus/slashcommands.js. ```bash yarn add @mxgnus/slashcommands.js ``` ### Need help? #### [Discord Server](https://discord.gg/M6Tf9b2Tvt) ## WARNING ### Discord takes a lot of time to create or update a slashcommand. So be patient if you add one. ### Guild slashcommands should update directly ### Also you need to invite your bot with the `application.commands` permission: **https://discord.com/api/oauth2/authorize?client\_id=YOUR\_CLIENT\_ID\&permissions=0scope=applications.commands%20bot** ### License [ISC](https://choosealicense.com/licenses/isc/)