This is a music bot on Discord, for my friend Tammy#1121.
- Clone this repo.
$ git clone https://github.com/nk980113/music-bot.git
- Install dependcies.
$ npm install
- Build bot file.
$ npm run build
- Edit ex.config.json, and rename it "config.json".
{
"clientId": "ID here",
"token": "token here",
"deploy": true
}
- Deploy slash commands.
$ node deploy.js
- Make your bot online.
$ node bot.js
PS. Step 5. and 6. can be done in 1 line:
$ npm run deploy-and-start
Thanks for @B-l-u-e-b-e-r-r-y, who provide this repo. The whole structure of this repo is from the repo he/she provides.