aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-07-20 20:26:26 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-07-20 20:26:26 -0400
commitb9175ef6eba3e67d51ad47ddfa61b51cf4db6a0e (patch)
treedc1950a21b0edea86c6cfd7b59eca81f768ec29b
parent354a658cc3ec8c8c15232c70eb348a9bc73f95a0 (diff)
downloadDLAP-b9175ef6eba3e67d51ad47ddfa61b51cf4db6a0e.tar.gz
DLAP-b9175ef6eba3e67d51ad47ddfa61b51cf4db6a0e.tar.bz2
DLAP-b9175ef6eba3e67d51ad47ddfa61b51cf4db6a0e.zip
Changed README and added status channel id to ready
-rw-r--r--README.md20
-rw-r--r--bot.js3
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.');