Skip to content

About

Discord bot that plays music in voice channels with playlist management, shuffle mode, and skip functionality.

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Pizza Radio 🎵

Pizza Radio is a Discord bot that brings music to your server, with features designed to play, manage, and skip tracks effortlessly. It's lightweight, easy to set up, and customizable for your needs.


🌟 Features

  • Play Songs: Queue and play songs directly from a folder in your project.
  • Playlist Management: List available songs to choose from.
  • Skip Tracks: Skip to the next song in the queue.
  • Stop Playback: Stop the current song, with an option to disconnect the bot.
  • Mixtape Mode: Shuffle and play a mix of songs.
  • Persistent Voice Channel Connection: Bot can remain in the voice channel even after stopping playback.

🚀 Installation

Follow these steps to set up Pizza Radio:

  1. Clone the Repository:

    git clone https://github.com/vincentskele/pizza-radio.git
    cd pizza-radio
  2. Install Dependencies:

    npm install
  3. Configure Environment Variables: Copy the example `.env` file and update it with your Discord bot token and other configurations:

    cp .env.example .env```
  4. Start the Bot:

    npm start

📂 Folder Structure

  • src/: Contains the bot's code and commands.
    • commands/: Modular commands like play, stop, skip, and mixtape.
    • state.js/: Shared state management for the bot.
  • songs/: Folder to store your audio files (not included in the repo).
  • scratch-pad/: Utility scripts for deployment and debugging.

🛠 Commands

  • /play <song>: Play a specific song from the playlist.
  • /playlist: List all available songs.
  • /skip: Skip the current song.
  • /stop: Stop the music (optionally keeps the bot in the channel).
  • /mixtape: Play songs randomly from the collection.
  • /band: Manage and play band-related songs.

🤝 Contributing

Contributions are welcome! Feel free to fork the repository, submit pull requests, or open issues for bug reports and feature suggestions.


⚠️ Notes

  • Ensure you have the correct permissions in your Discord server to allow the bot to join voice channels and play music.
  • The songs/ folder must contain valid audio files (`.mp3`, `.wav`, etc.) for the bot to play.

Happy listening! 🎧

About

Discord bot that plays music in voice channels with playlist management, shuffle mode, and skip functionality.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages