A simple Discord music bot.
!join
summon bot into your voice channel!leave
make bot to leave your voice channel!play
play the given song
- Download and install docker
- Build the docker image
$ docker build . -t discord
- Run the docker images
$ docker run -d \
-e TOKEN=<YOUR BOT TOKEN HERE> \
--restart always \
--name discord \
discord
- Download and install python version
3.6
or higher - Install discord.py
Linux/macOS
$ python3 -m pip install -U "py-cord[voice]"
Windows
$ py -3 -m pip install -U py-cord[voice]
- Install wavelink
$ pip install wavelink
-
Insert your bot token to main.py You can get your bot token from https://discord.com/developers/applications
-
Finally, you can start the bot
Linux
$ python3 main.py
Windows
$ python main.py
HOST
lavalink.kyuk.my.id
PORT
443
PASSWORD
HOST
lavalink.kyuk.my.id
PORT
80
PASSWORD