Pianonic / PianoNicsMusic

PianoNic's Music Bot: A versatile Discord bot that enhances your server's music experience with standard playback and a unique AI voice feature. Easily manage tracks with a queue system and intuitive commands.
https://pianonic.com/pianonicsmusic
Other
2 stars 0 forks source link
discord discord-bot discord-py youtube-dlp yt-dlp

PianoNic's Music Bot

🎹 PianoNic's Music Bot

Description 🎢

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.

Features 🌟

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/PianoNics-Music.git
    cd PianoNics-Music
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up the database: Ensure you have a database set up and configured in your environment.

Configuration

  1. 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
  2. Obtain Spotify Credentials:

    • To get your 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.
  3. Run the bot:

    python main.py
  4. Docker Setup 🐳

    • Build the Docker Image
      docker build -t pianonic-music-bot .
    • Run the Docker Container
      docker run -d --name pianonic-music-bot pianonic-music-bot

Usage πŸš€

Contributing 🀝

We welcome contributions to PianoNic's Music Bot! Feel free to make changes, and submit a pull request.

License πŸ“„

This project is licensed under the CC BY-NC 4.0.