https://github.com/fossyy/discord-music-bot
https://github.com/fossyy/discord-music-bot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fossyy/discord-music-bot
- Owner: fossyy
- License: gpl-3.0
- Created: 2023-02-20T15:12:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-20T15:13:26.000Z (over 2 years ago)
- Last Synced: 2025-01-23T01:41:34.815Z (5 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Discord Music Bot
A simple Discord music bot.
## Feature
- `!join` summon bot into your voice channel
- `!leave` make bot to leave your voice channel
- `!play` play the given song## Setup with docker (RECOMENDED!)
1. Download and install docker
2. Build the docker image
```sh
$ docker build . -t discord
```
3. Run the docker images
```sh
$ docker run -d \
-e TOKEN= \
--restart always \
--name discord \
discord
```## Setup with python
1. Download and install python version `3.6` or higher
2. Install discord.pyLinux/macOS
```sh
$ python3 -m pip install -U "py-cord[voice]"
```
Windows
```sh
$ py -3 -m pip install -U py-cord[voice]
```3. Install wavelink
```sh
$ pip install wavelink
```
4. Insert your bot token to main.py
You can get your bot token from https://discord.com/developers/applications5. Finally, you can start the bot
Linux
```sh
$ python3 main.py
```
Windows
```sh
$ python main.py
```
## LAVALINK SERVER
Secure (HTTPS / SSL)
HOST
lavalink.kyuk.my.idPORT
443PASSWORD
www.kyuk.my.id
Not Secure (HTTP)
HOST
lavalink.kyuk.my.id
PORT
80
PASSWORD
www.kyuk.my.id