Skip to content

SleepyStew/TuneTrivia

Repository files navigation

🎶 TuneTrivia 🎶

Music Guessing Game! Test your music knowledge with friends! Now open source and available for self-hosting!

If you like TuneTrivia or appreciate my efforts remember to Star this repository! ✨

Features

  • Music Trivia with a wide range of music genres! 🎼
  • Easy to setup with simple configuration steps. ⚙
  • Scalable, allowing multiple instances to run in different Discord guilds at once. 📈
  • LavaLink integration to enable seamless audio playback. ♨
  • Spotify integration to allow for custom guessing playlists. 🧩
  • Developer-friendly, allowing for easy modification and complete cog reloads using Discord commands. 👩‍💻
  • Builtin stats API for easy integration with other systems. 📊

Example

TuneTrivia Example

How to run

  • Create a Discord bot from the Discord Developer Portal.
  • Grant the bot all necessary intents, including Presence, Server Members, and Message Content.
  • Download the source from this repository.
  • Ensure that Python 3 is installed on your device.
  • Unzip and open a command prompt or terminal in that directory.
  • Rename config.example.ini to config.ini.
  • Fill out the your_discord_id, discord_token, spotify_client_id and spotify_client_secret fields in the config.ini.
  • Run pip install -r requirements.txt.
  • Run py run.py (Windows) or python3 run.py (Linux).

Information

TuneTrivia is a private bot turned public. There may be reminents of development left behind. If you want to help develop or add features to TuneTrivia, absolutely feel free to do so (also feel free to make a PR with your awesome changes).

Join the Discord Server if in need to support or to discuss development.

The bot nativly runs in Python 3.8, and hasn't been tested in any other versions.

Developer Commands (Only available to the user with the ID set in your_discord_id)

  • tt!update - Pulls from this repo and reloads cogs
  • tt!reload - Reloads cogs