all repos — simple-discord-music-bot @ 138a49aa8389ab4886c9b047b535325f9d342954

A Discord bot making use of discord.js and play-yt.

README.md (view raw)

 1# Simple Discord Music Bot
 2
 3### Why?
 4I wanted to experiment with [discord.js](https://discord.js.org/).
 5
 6### Will you add \<feature>?
 7Nah, this is just a proof of concept.
 8
 9### Can I add this bot to my server?
10Sure, go ahead and host it yourself.
11
12## Instructions
13First, install dependencies:
14```
15npm i
16```
17
18While that happens, create your own application in the [Discord Developer Portal](https://discord.com/developers/applications). In the "Bot" tab, click on "Add Bot", then generate a new token. Now you can copy `config.example.json` into `config.json` and fill it with your Application ID and Discord Bot Token.
19
20Then, deploy your commands:
21```
22npm run deploy-commands
23```
24This will also give you a link to invite the bot to any server.
25
26Build the project:
27```
28npm run build
29```
30
31Finally, type this to start the bot:
32```
33npm start
34```
35Enjoy!
36
37## OAuth2 permissions
38If for some reason you want to change the bot permissions, you can visit [this page](https://discordapi.com/permissions.html#17825792) and generate a custom link.