aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 2bdd9d52d6058e72345b680192333dde706e4b3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# DLMP3 Bot (Discord.JS Local MP3)

A Discord bot that plays local MP3 audio tracks. Written in Discord.JS.

[Video Tutorial](https://www.youtube.com/watch?v=7X3FAhYW31I)

If there's anything wrong or wanting to add a feature, feel free to make a fork and put a pull request.

# Configuration
Make a new file called `config.json`.
```
{
    "token": "token_here",
    "prefix": "dl:",
    "botOwner": "your_user_id_here",
    "statusChannel": "channel_id",
    "voiceChannel": "voice_channel_id"
    "guildID": "guild_id",
    "clientID": "client_id",
}
```

Add your own audio files using the mp3 file extension to the `music` folder.

Deploy the commands by doing `node deploy-command.js`

Launch the bot using `node bot.js` in terminal.

# Help Command
```
Public Only
-----------
help - Displays commands.
ping - Pong!
git - Links to the source repo.
playing - Tells you what it's playing at the moment.
about - About the bot.

Bot Owner Only
--------------
join - Joins voice chat.
resume - Resumes music.
pause - Pauses music.
skip - Skips the audio track.
leave - Leaves voice chat.
stop - Stops bot.
```