- Type some Command on the message box start with
> - Not implement with
/command at this moment
- Search/Play music from youtube with youtube-dl.
- Play music from spotify playlist.
- Play song in queue.
- Loop current song.
- Loop all song in history.
- Play song from spotify playlist.
- Play next song without request from user.
- Discord.py - A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.
- youtube-dl - download videos from youtube.com or other video platforms.
- ffmpeg - A complete, cross-platform solution to record, convert and stream audio and video.
BadGuy requires Python v3.10.4+ to run.
git clone https://github.com/miracleexotic/BadGuy-Music-DiscordBot.git
cd BadGuy-Music-DiscordBotFirst, Need to create authentication folder in BadGuy-Music-DiscordBot folder.
mkdir -p authentication
cd authentication
nano config.jsonWrite this below code in config.json and replace your key in <KEY: Description>
{
"README": "Make a duplicate of this file and save it as config.json. Then configure the bot however you want",
"token" : "<KEY: Discord bot token>",
"spotify": {
"cid": "<KEY: spotify cid>",
"secret": "<KEY: spotify secret>"
}
}
Install the dependencies and devDependencies.
pip install -r requirements.txtpython main.pyBadGuy is very easy to install and deploy in a Docker container.
cd BadGuy-Music-DiscordBot
docker build -t <youruser>/badguy-music-discord .This will create the dillinger image and pull in the necessary dependencies.
Once done, run the Docker image:
docker run -d --name=badguy <youruser>/badguy-music-discordMIT
Free Software, Hell Yeah!