Skip to content

ExceptedPrism3/JazzRadio

Repository files navigation

🎷 JazzRadio

Banner

Node.js Discord.js License Status Code Style Genre Uptime Quality

JazzRadio is a Discord bot dedicated to streaming smooth, high-quality Jazz music 24/7. Built with modern Discord.js and optimized for performance.

🌟 Features

  • 24/7 Streaming: Continuous smooth Jazz stream.
  • High Quality Audio: Uses sodium-native for optimal performance.
  • Easy Control: Interactive Stop Button 🛑 and slash commands.
  • Auto Reconnection: Automatically rejoins if the stream or connection drops.
  • Custom Status: Rotates through legendary Jazz artists.

🛠️ Installation

Prerequisites

  • Node.js v20.0.0 or higher
  • npm (Node Package Manager)
  • FFmpeg (Required for audio processing)

Linux (Ubuntu/Debian) Requirements

If running on Linux, you must install build tools for the encryption libraries:

sudo apt-get update
sudo apt-get install -y build-essential python3 libtool automake autoconf ffmpeg

Steps

  1. Clone the repository:

    git clone https://github.com/ExceptedPrism3/JazzRadio.git
    cd JazzRadio
  2. Install dependencies:

    npm install
  3. Create a .env file:

    TOKEN=your_bot_token
  4. Configure the bot (Optional): Edit config.json to customize the status messages or radio URL.

  5. Register Commands:

    node utils/deploy-commands.js
  6. Run the bot:

    # For development
    node index.js
    
    # For production (recommended)
    pm2 start index.js --name jazzradio

🎮 Commands

  • /play - 🎷 Start playing the Jazz stream in your voice channel.
  • /stop - 🛑 Stop the radio and leave the channel.
  • /ping - 🏓 Check the bot's latency.
  • /uptime - ⏱️ Check how long the bot has been running.
  • /info - ℹ️ Get information about the bot.
  • /vote - 🗳️ Get voting and invite links.
  • /help - ❓ List all available commands.

🤝 Contribution

We welcome contributions! Feel free to fork this project, submit issues, or create pull requests.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes.
  4. Push to the branch.
  5. Create a new Pull Request.

📜 License

This project is licensed under the GNU AGPL v3 License - see the LICENSE file for details.

✉️ Contact

For any questions or feedback, please reach out over the Discord Support Server or open an Issue on GitHub.


Made with ❤️ by Prism3