PHP code example of asdfx / phergie-irc-plugin-react-trivia
1. Go to this page and download the library: Download asdfx/phergie-irc-plugin-react-trivia library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
asdfx / phergie-irc-plugin-react-trivia example snippets
return [
// ...
'plugins' => [
new \Phergie\Irc\Plugin\React\Command\Plugin, // dependency
new \Asdfx\Phergie\Plugin\Trivia\Plugin(['channel' => '#yourChannel']),
]
]