2017 © Pedro Peláez
 

library phergie-irc-plugin-react-karma

Phergie plugin for handling requests to increment or decrement counters on specified terms

image

pschwisow/phergie-irc-plugin-react-karma

Phergie plugin for handling requests to increment or decrement counters on specified terms

  • Wednesday, July 20, 2016
  • by PSchwisow
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 7 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

pschwisow/phergie-irc-plugin-react-karma

Phergie plugin for handling requests to increment or decrement counters on specified terms., (*1)

Build Status Code Climate Test Coverage, (*2)

Install

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

php composer.phar require pschwisow/phergie-irc-plugin-react-karma, (*4)

See Phergie documentation for more information on installing and enabling plugins., (*5)

Provided Commands

The karma plugin maintains karma values for a list of terms and compares them as requested. Terms are most often IRC nicks, but the plugin does not require this. Terms may optionally be enclosed in parentheses (most often used for terms that contain whitespace)., (*6)

Command Description
!karma term Get the current karma value for a term
!reincarnate term Reset the karma value for a term
term++ Increment the karma value for a term
term-- Decrement the karma value for a term
term1 < term2 Compare karma values of two terms
term1 > term2 Compare karma values of two terms

Configuration

return [
    'plugins' => [
        // configuration
        new \PSchwisow\Phergie\Plugin\Karma\Plugin([



        ])
    ]
];

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

20/07 2016

dev-master

9999999-dev

Phergie plugin for handling requests to increment or decrement counters on specified terms

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

plugin bot irc phergie