hqtrivia
Version, currently 0.2.518 versions
- 0.7.1latestApr 13, 2021
- 0.7.0not indexedApr 13, 2021
- 0.6.0not indexedApr 13, 2021
- 0.5.0not indexedApr 13, 2021
- 0.4.0not indexedApr 13, 2021
- 0.3.0not indexedApr 13, 2021
- 0.2.9not indexedApr 13, 2021
- 0.2.8not indexedApr 13, 2021
- 0.2.7not indexedApr 13, 2021
- 0.2.6not indexedApr 13, 2021
- 0.2.5not indexedApr 13, 2021
- 0.2.4not indexedApr 13, 2021
- 0.2.3not indexedApr 13, 2021
- 0.2.2not indexedApr 13, 2021
- 0.2.1not indexedApr 13, 2021
- 0.2.0not indexedApr 13, 2021
- 0.1.1not indexedApr 13, 2021
- 0.1.0not indexedApr 13, 2021
github.com/taylorfinnell/hqtrivia
Framework for creating HQ Trivia bots
Nothing has been indexed for 0.2.5 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
hqtrivia:
github: taylorfinnell/hqtrivia
version: ~> 0.2.5Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2.5. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
hqtrivia
A small framework for building HQ Trivia and HQ Words bots.
Installation
Add this to your application's shard.yml:
dependencies:
hqtrivia:
github: taylorfinnell/hqtrivia
Usage
require "hqtrivia"
class WordFrequencyBot
include HqTrivia::Bot
getter words
@words = {} of String => Int32
def handle_message(message : HqTrivia::Model::Interaction)
message.metadata.message.split(/\s/).each do |word|
@words[word.downcase] ||= 0
@words[word.downcase] += 1
end
end
end
coordinator = HqTrivia::HqCoordinator.new("us")
HqTrivia.on_show(coordinator) do |show|
bot = WordFrequencyBot.new(coordinator)
bot.play
end
HQ Trivia Messages
HqTriva::Model::QuestionHqTriva::Model::QuestionSummaryHqTriva::Model::QuestionFinishedHqTriva::Model::GameSummaryHqTriva::Model::SurveyQuestionHqTriva::Model::SurveyResultsHqTriva::Model::CheckpointHqTriva::Model::CheckpointSummary
HQ Words Messages
HqTriva::Model::ShowWheelHqTriva::Model::HideWheelHqTriva::Model::StartRoundHqTriva::Model::EndRoundHqTriva::Model::WordsGameResult
HQ Heart Messages
HeartEpisodeWinnersHeartFinalistIntroHeartFinalistUploadStatusHeartFinalistUploadUpdateHeartFinalistVoteHeartFinalistWalkthroughHeartPhotoResultsHeartPhotoUploadHeartPhotoVote
Shared Messages
HqTriva::Model::QuestionClosedHqTriva::Model::PostGameHqTriva::Model::InteractionHqTriva::Model::UnknownMessageHqTriva::Model::BroadcastStatsHqTriva::Model::BroadcastEndedHqTriva::Model::Kicked
Contributors
- taylorfinnell Taylor Finnell - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.5- Tagged
- Apr 13, 2021
- Commit
2aaf83a9da7e- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/taylorfinnell/hqtrivia
Metadata
- Created
- Sep 5, 2026
- Updated
- Oct 15, 2026
- Synced
- Oct 15, 2026
- Versions
- 18