chrismou/phergie-irc-plugin-react-pingpong 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

chrismou/phergie-irc-plugin-react-pingpong

最新稳定版本:v1.1.0

Composer 安装命令:

composer require chrismou/phergie-irc-plugin-react-pingpong

包简介

Phergie plugin for testing the bot's responsiveness

README 文档

README

Phergie plugin for testing the bot's responsiveness.

Build Status Test Coverage Code Climate Buy me a beer

About

This plugin is designed to simply return a response to the phrase "ping", most commonly used to test the bot's responsiveness.

Install

The recommended method of installation is through composer.

composer require chrismou/phergie-irc-plugin-react-pingpong

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

Configuration

To use the default settings, simply add the following to your config file:

new \Chrismou\Phergie\Plugin\PingPong\Plugin

Or you can set one of both of the custom config values. "response" is the phrase the bot will reply back with (defaults to "pong"), and "reply" sets whether the bot should reply back to the user directly (defaults to false):

new \Chrismou\Phergie\Plugin\PingPong\Plugin(array(
    "response" => "lolwut",
    "reply" => false
))

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.

统计信息

  • 总下载量: 66
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2015-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固