@helyx/module-trivia
v1.0.3
Published
Private, server-scoped trivia rounds from a saved question catalogue.
Downloads
583
Readme
Helyx Trivia
Trivia provides private, server-scoped /trivia rounds from the question catalogue installed with the module. Members may choose a category, difficulty, niche preference, Multiple Choice or Guess, one through ten questions, and an optional final answer reveal without configuring the server from Discord. Each answer edits the same ephemeral response; completion shows the total score and an optional single marked review.
Configuration
Server managers set defaults, family-content filtering and the answer window in the Helyx dashboard. The module can be enabled before settings are saved. Multiple Choice and Guess both use the packaged database catalogue; gameplay never calls an external trivia provider.
The module installs its versioned question snapshot during database migration. Each later catalogue migration is an exact mirror: matching questions are updated and questions outside the packaged snapshot are removed. Local database edits therefore remain until the next catalogue migration, when they may be replaced or removed. Existing creation and rotation timestamps are preserved for questions that remain in the catalogue.
Helyx does not store member answer text. Guess answers are compared locally against the saved correct answer and never leave Helyx. Question controls, the unique bounded question list, outcome booleans and member binding use the shared expiring interaction-session service. Least-recently-used database rotation reduces repeat questions without creating member play history.
Completed answers record only aggregate, privacy-declared game statistics through the shared platform service: answered, correct/incorrect, answer mode and correct-category totals. These records contain no selected answer, answer text or question content.
Trivia needs no Discord permissions beyond the normal interaction response path. Optional Logging records bounded round metadata without question or answer text. Optional Achievements consumes typed game events.
Release state
Version 1.0.1 is approved for Live hosted and self-hosted distribution.
