νλ‘μ νΈ
GitHubμμ 보기
Androz2091/discord-music-bot
μκ°
The perfect music bot for your Discord server! π€
λμμΈ λ° λ―Έλμ΄What you can do
- Simple & easy to use π€
- Audio filters (bassboost) πΈ
- YouTube, Facebook and Vimeo support π
- Slash Commands support π€
μΈ‘μ λ μ€ν μ¦κ°
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- κΈ°λ‘ μμ§ μ€
μλ‘ κ²ΉμΉλ κΈ°κ°μ μμ¦κ°λμ΄λ©° μΌλ³ ν©κ³κ° μλλλ€. μΈ‘μ κ°μ΄ μμΌλ©΄ λΉμ λ‘λλ€. μ€νλ κ΄μ¬λλ₯Ό λνλ΄λ©° νμ§μ 보μ₯νμ§ μμ΅λλ€.
README.md
OriginalDiscord Music Bot
The perfect music bot for your Discord server! πΆ
Features
Highlights
- Simple & easy to use π€
- Audio filters (bassboost) πΈ
- YouTube, Facebook and Vimeo support π
- Slash Commands support π€
- Play in multiple servers at the same time π
Commands
Here are all the available commands in the bot!
| Name | Description | Options |
|---|---|---|
| /back | Play the previous track | |
| /bassboost | Toggle bassboost filter | |
| /clear | Clear the current queue. | |
| /history | Display the queue history | <page> |
| /jump | Jump to a specific track | <tracks> |
| /loop | Set loop mode | <mode> |
| /np | See what's currently being played | |
| /pause | Pause the current song | |
| /play | Play a song from youtube | <query> |
| /playnext | Add a song to the top of the queue | <query> |
| /queue | See the queue | <page> |
| /remove | Remove a specific track | <track> |
| /resume | Resume the current song | |
| /seek | Seek to the given time | <time> |
| /shuffle | Shuffle the queue | |
| /skip | Skip to the current song | |
| /stop | Stop the player | |
| /volume | Set music volume | <amount> |
About
The project uses the following libraries:
- Androz2091/discord-player library for the core music features
- discordjs for all the other requests to the Discord API
- @discordjs/voice for all the voice requests to the Discord API
- @discordjs/opus as the opus library
- FFMPEG to encode the stream
Installation
Manual
- Install FFMPEG.
- Clone the repository. (
git clone https://github.com/Androz2091/discord-music-bot) - Copy the
.env.examplefile as.envand fill it.
DISCORD_CLIENT_IDis the ID of your Discord BOTDISCORD_CLIENT_TOKENis the token of your Discord BOT
- Install the dependencies. (
yarn installornpm install) - Start the bot! (
yarn startornpm startornode .)
Docker
- Copy the
.env.examplefile as.envand fill it.
docker build . -t discord-music-bot
docker run -d --env-file .env discord-music-bot
Example with docker-compose
version: '2'
services:
bot:
build: .
environment:
DISCORD_CLIENT_ID: ""
DISCORD_CLIENT_TOKEN: ""
DISCORD_CLIENT_PUBKEY: ""
DISCORD_GUILD_ID: ""
κ΄λ ¨ νλ‘μ νΈ μ΄ν΄λ³΄κΈ°
λΆλ¬μ€λ μ€β¦