Open-source music bot designed for Discord
This project has been written to develop substitute for Groovy and Rythm bots which were closed due to YouTube ToS. The idea is that you can easily create and deploy music bot for your server.
Project is created with:
- Node version: 16.9.1
- Discord.js: 14.8.0
- Simple play/skip/disconnect interface with implementent songs queue
- Searching video by keywords
- Playing youtube playlist
- Playing binds uploaded on a server
- Multilanguage support, eng/pl builded in
| Command | Arguments | Description |
|---|---|---|
| play | youtube link/keywords | play song |
| bind | bind name | play bind (local file) |
| disconnect | - | disconnect from voice channel |
| skip | - | skip current song in player |
| clear | - | skip entire queue |
| queue | - | prints queue without current song |
| bind list | - | prints avaiable binds |
| help | - | print all commands with description |
- Create application on Discord Developer portal
- Go to Bot section and create bot. Token is
DISCORD_TOKENin.envfile. - Go to OAuth2 section and generate invitation link. Select
botandapplications.commandsfrom scopes list. - Add bot to your server using link generated in previous step. Remember, that your bot has to have permissions for reading and writing text messages on channel defined as
CHANNEL_NAMEin.envfile.
Read more about creating a bot application - [1], [2]
To run application:
- Create
.envfile simillary to.env-example - Add
.mp3binds to selected folder, if you want to use spaces for playing use-sign as a separator - Run
$ pnpm install - Run
$ pnpm run start
You can check out the full license here
This project is licensed under the terms of the MIT license.