Trivia plugin for Phergie
Phergie plugin for playing a trivia game.
This plugin provides a really simple Trivia game, the bot asks a question, if you answer it correctly, you get points!
.start
.stop
.score
The recommended method of installation is through composer.
composer require asdfx/phergie-irc-plugin-react-trivia
See Phergie documentation for more information on installing and enabling plugins.
This plugin requires the Command plugin to recognise commands.
If you're new to Phergie or Phergie plugins, see the Phergie setup instructions for more information. Otherwise, add the following references to your config file:
return [
// ...
'plugins' => [
new \Phergie\Irc\Plugin\React\Command\Plugin, // dependency
new \Asdfx\Phergie\Plugin\Trivia\Plugin(['channel' => '#yourChannel']),
]
]
Released under the MIT License. See LICENSE
.