Skip to content

maxbeizer/hedwig_trivia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hedwig_trivia

A Hedwig plugin to play trivia via the jservice API.

Installation

The package can be installed by adding hedwig_trivia to your list of dependencies in mix.exs:

def deps do
  [
    {:hedwig_trivia, "~> 0.1.0"}
  ]
end

Docs can be found at https://hexdocs.pm/hedwig_trivia.

Usage

hedwig trivia
# fetches a new trivia question from the API, unless you already have an
# unanswered question

hedwig trivia!
# fetches a new trivia question from the API, regardless of whether you already
# have an unanswered question

hedwig guess <guess>
# submit a guess for the current question

hedwig solution
# get the answer to the current question

Development

mix deps.get mix test bin/lint

License

MIT

Acknowledgements

@sottenad for the API @scrogson for Hedwig

About

A Hedwig plugin to play trivia in chat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published