2017 © Pedro Peláez
 

library phergie-irc-plugin-react-tell

Phergie plugin for send messages to users next time they are seen.

image

enebe-nb/phergie-irc-plugin-react-tell

Phergie plugin for send messages to users next time they are seen.

  • Friday, October 2, 2015
  • by enebe-nb
  • Repository
  • 1 Watchers
  • 1 Stars
  • 36 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

enebe-nb/phergie-irc-plugin-react-tell

Phergie plugin for send messages to users next time they are seen., (*1)

Build Status, (*2)

Install

The recommended method of installation is through composer., (*3)

{
    "require": {
        "enebe-nb/phergie-irc-plugin-react-tell": "^1.0"
    }
}

See Phergie documentation for more information on installing plugins., (*4)

Configuration

return array(
    'plugins' => array(
        new \EnebeNb\Phergie\Plugin\Tell\Plugin(array(
            // Send a \PDO object to use that database,
            // or leave unsetted to store the messages into an array.
            'database' => new \PDO($mydsn, $myusername, $mypassword),

            // change the default command text from 'tell' to anything
            'custom-commands' => 'mycustomcommand',
            // or pick any number of commands
            'custom-commands' => array('tell', 'ask', 'remind'),
            // also works with comma-delimited strings
            'custom-commands' => 'tell,ask,remind',

            // create database table
            'create-database' => true,

            // set a maximum number of messages to be stored for an user
            // Default: 10
            'max-messages' => 20,
            // or remove the maximum
            'max-messages' => false,
        )),

        // phergie/phergie-irc-plugin-react-command
        // is required to listen for commands
        new \Phergie\Irc\Plugin\React\Command\Plugin(),
    ),
);

See phergie/phergie-irc-plugin-react-command for more information on Command Plugin., (*5)

Databases

This plugin is tested on following databases: - MySQL (it sets SQL_MODE to ANSI_QUOTES on construct) - PostgreSQL - SQLITE, (*6)

Tests

To run the unit test suite:, (*7)

curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

License

Released under the BSD License. See LICENSE., (*8)

The Versions

02/10 2015

dev-master

9999999-dev

Phergie plugin for send messages to users next time they are seen.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

02/10 2015

1.0.1

1.0.1.0

Phergie plugin for send messages to users next time they are seen.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react

27/08 2015

1.0.0

1.0.0.0

Phergie plugin for send messages to users next time they are seen.

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc react