A Basic DiscordJS Slash Command Bot with 2 initial commands.
/ping
: ReturnsPong!
/info
:/info user
: Returns own user info/info user @user
: Returns user info/info server
: Returns server info
Rename .env.example
to .env
and fill out the values.
create new commands in the commands folder.
git clone git@github.com:maatt/DiscordJS-Slash-Bot.git
cd DiscordJS-Slash-Bot
npm install