From b9175ef6eba3e67d51ad47ddfa61b51cf4db6a0e Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 20 Jul 2020 20:26:26 -0400 Subject: Changed README and added status channel id to ready --- README.md | 20 +++++++++++--------- bot.js | 3 ++- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d39ebaa..91841ee 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A Discord bot that's made for Alee's birthday. Written in Discord.JS. If there's anything wrong, feel free to make a fork and put a pull request. # Configuration -Make a new file called `config.json` +Make a new file called `config.json`. ``` { "token": "token_here", @@ -15,21 +15,23 @@ Make a new file called `config.json` } ``` -Add your own audio files using the mp3 file extension to `./music` +Add your own audio files using the mp3 file extension to `./music`. + +Launch the bot using `node bot.js` in terminal. # Help Command ``` Public Only ----------- -help - Displays commands +help - Displays commands. ping - Pong! -git - Links to the source repo -about - About the bot +git - Links to the source repo. +about - About the bot. Bot Owner Only -------------- -join - Joins voice chat -skip - Skips the audio track -leave - Leaves voice chat -stop - Stops bot +join - Joins voice chat. +skip - Skips the audio track. +leave - Leaves voice chat. +stop - Stops bot. ``` diff --git a/bot.js b/bot.js index cb458c4..0f7a87f 100644 --- a/bot.js +++ b/bot.js @@ -55,7 +55,8 @@ client.on('ready', () => { console.log(`Logged in as ${client.user.tag}!`); console.log(`Prefix: ${config.prefix}`); console.log(`Owner ID: ${config.botOwner}`); - console.log(`Voice Channel: ${config.voiceChannel}\n`); + console.log(`Voice Channel: ${config.voiceChannel}`); + console.log(`Status Channel: ${config.statusChannel}\n`) client.user.setStatus('invisible'); console.log('Connected to the voice channel.'); -- cgit v1.2.3