定制 phergie/phergie-irc-plugin-react-formstackbot 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

phergie/phergie-irc-plugin-react-formstackbot

Composer 安装命令:

composer require phergie/phergie-irc-plugin-react-formstackbot

包简介

Phergie IRC bot plugin responding to Who's your *? phrases

README 文档

README

A plugin for Phergie to react to users who privately message the bot and ask them to sign up and submit data to formstack.com api"

Install

The recommended method of installation is through composer.

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

See Phergie documentation for more information on installing plugins.

Configuration

new \bkmorse\Phergie\Irc\Plugin\React\FormStackBot\Plugin(array(
    'prefix' => '!', // string denoting the start of a command
    'pattern' => '/^!/', // PCRE regular expression denoting the presence of a
    'nick' => true, // true to match common ways of addressing the bot by its
                    // connection nick
    'formstack_form_id' => '', // id of form in formstack.com dashboard
    'formstack_token'   => '', // token from when you create an application on formstack.com
)),

Usage

This plugin monitors PRIVMSG events attempting."

Tests

To run the unit test suite:

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

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2014-11-21