PianoNic's Music Bot is a versatile Discord bot designed to elevate the music experience on your Discord server. Not only does it play your favorite tracks on command, but it also features a unique functionality that allows it to play music with a trained AI voice, bringing a novel and engaging musical experience to your community. Additionally, PianoNic's Music Bot can play music from virtually any source, offering a wide range of listening options.
Clone the repository:
git clone https://github.com/yourusername/PianoNics-Music.git
cd PianoNics-Music
Install dependencies:
pip install -r requirements.txt
Set up the database: Ensure you have a database set up and configured in your environment.
Create a .env
file in the root directory with the following structure:
DISCORD_TOKEN=YOUR_DISCORD_TOKEN
SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET
Obtain Spotify Credentials:
SPOTIFY_CLIENT_ID
and SPOTIFY_CLIENT_SECRET
, create an application on Spotify's Developer Dashboard. Follow the instructions on the Spotify Developer website to register your app and retrieve your credentials.Run the bot:
python main.py
Docker Setup π³
docker build -t pianonic-music-bot .
docker run -d --name pianonic-music-bot pianonic-music-bot
We welcome contributions to PianoNic's Music Bot! Feel free to make changes, and submit a pull request.
This project is licensed under the CC BY-NC 4.0.