1. Go to this page and download the library: Download sitedyno/phergie-reminders 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/ */
sitedyno / phergie-reminders example snippets
return [
'plugins' => [
// dependencies
new \Phergie\Irc\Plugin\React\Command\Plugin,
// optional dependencies
new \Phergie\Irc\Plugin\React\CommandHelp\Plugin([
// List of plugins that subscribe to command events
// Used to return a list of available commands to users
'plugins' => [
new \Sitedyno\Phergie\Plugin\Reminders\Plugin,
]
]),
// configuration
new \Sitedyno\Phergie\Plugin\Reminders\Plugin([
// path to the reminder cache
'cachePath' => '/home/coolperson/phergie',
// file name of the reminder cache file
'cacheFile' => '.phergie-reminders',
// If true the plugin responds in private message only
'forcePMs' => true,
// If a user has a list of reminders larger than this value
// the repsonse will be in private message
'maxListSize' => 5,
])
]
];