Installation

With this page, you will create your first SlashCommand!

Assuming you already have installed NodeJS, lets get started by creating a new Directory

$ mkdir mybot
$ cd mybot

Now lets use the NPM init command, this will create a package.json.

$ npm init

Next, lets install discord.js and slashdiscord.js

$ npm i discord.js slashdiscord.js

Finally, lets create an index.js file and open your directory with Visual Studio Code

Last updated

Was this helpful?