Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Phergie plugin for enabling the use of custom aliases for existing bot commands

License

Notifications You must be signed in to change notification settings

phergie/phergie-irc-plugin-react-commandalias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is abandoned

This repo is being kept for posterity and will be archived in a readonly state. If you're interested it can be forked under a new Composer namespace/GitHub organization.

phergie/phergie-irc-plugin-react-commandalias

Phergie plugin for enabling the use of custom aliases for existing bot commands.

This plugin is intended to complement the Command plugin.

Build Status

Install

The recommended method of installation is through composer.

{
    "require": {
        "phergie/phergie-irc-plugin-react-commandalias": "dev-master"
    }
}

See Phergie documentation for more information on installing and enabling plugins.

Configuration

new \Phergie\Irc\Plugin\React\CommandAlias\Plugin(array(

    // All configuration is required

    'aliases' => array(
        // alias => command
        'j' => 'join',
        'p' => 'part',
        'q' => 'quit',
        'btc' => 'wolfram-alpha 1 BTC in US$',
        // ...
    ),

))

Tests

To run the unit test suite:

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

License

Released under the BSD License. See LICENSE.

About

Phergie plugin for enabling the use of custom aliases for existing bot commands

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages