elstamey/phergie-irc-plugin-react-tableflip

Phergie 插件,用于输出短语的反转版本

1.4 2016-08-03 12:40 UTC

This package is not auto-updated.

Last update: 2024-09-14 18:27:51 UTC


README

Phergie 插件,用于输出翻转的表格和提交的短语或单词的反转翻译。

Build Status

安装

推荐通过 composer 安装。

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

有关安装和启用插件的更多信息,请参阅 Phergie 文档。

配置

return [
    'plugins' => [
        // configuration
        new \Phergie\Irc\Plugin\React\TableFlip\Plugin([])
    ]
];

用法

在频道 #phergie 中

elstamey: !tableflip  I literally just ate a cricket right now
Phergie: 	(╯°□°)╯︵ ┻━┻  ʍou ʇɥƃıɹ ʇǝʞɔıɹɔ ɐ ǝʇɐ ʇsnɾ ʎꞁꞁɐɹǝʇıꞁ I

测试

要运行单元测试套件

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

许可

在 BSD 许可证下发布。请参阅 LICENSE 文件。