all repos — simple-discord-music-bot @ 34d90ffd27e2def867cb627ae49aad8e3431fde3

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
20Build the project:
21```
22npm run build
23```
24
25Then, deploy your commands:
26```
27npm run deploy-commands
28```
29This will also give you a link to invite the bot to any server.
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.