fossyy / Discord-Music-Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
$ docker build . -t discord
  1. Run the docker images
$ docker run -d \
-e TOKEN=<YOUR BOT TOKEN HERE> \
--restart always \
--name discord \
discord

Setup with python

  1. Download and install python version 3.6 or higher
  2. Install discord.py

Linux/macOS

$ python3 -m pip install -U "py-cord[voice]"

Windows

$ py -3 -m pip install -U py-cord[voice]
  1. Install wavelink
$ pip install wavelink
  1. Insert your bot token to main.py You can get your bot token from https://discord.com/developers/applications

  2. Finally, you can start the bot

Linux

$ python3 main.py

Windows

$ python main.py

LAVALINK SERVER

Secure (HTTPS / SSL)

HOST

lavalink.kyuk.my.id

PORT

443

PASSWORD

www.kyuk.my.id

Not Secure (HTTP)

HOST

lavalink.kyuk.my.id

PORT

80

PASSWORD

www.kyuk.my.id

About

License:GNU General Public License v3.0


Languages

Language:Python 92.1%Language:Dockerfile 7.9%