Skip to content

Latest commit

 

History

History
84 lines (63 loc) · 1.44 KB

README.md

File metadata and controls

84 lines (63 loc) · 1.44 KB

Ruboty::Ume

An Ruboty Handler + Actions to An Ruboty Handler + Actions to output N line messages..

Ruboty is Chat bot framework. Ruby + Bot = Ruboty

Installation

Add this line to your application's Gemfile:

gem 'ruboty-ume'

And then execute:

$ bundle

Commands

Command Pattern Description
ume /ume (?.*?)z/ output empty message N lines ( times)
umec /umec (?.+?) (?.*?)z/ output message N lines ( times)

Usage

ume

  • output empty message N lines ( times)
> ruboty help
ruboty /ume (?<count>.*?)z/               - output empty message N lines (<count> times)
> ruboty ume 3
.
.
.
> ruboty ume 5
.
.
.
.
.

umec

  • output message N lines ( times)
> ruboty help
ruboty /umec (?<text>.+?) (?<count>.*?)z/ - output <text> message N lines (<count> times)
> ruboty umec hoge 3
hoge
hoge
hoge

> ruboty umec hoge 5
hoge
hoge
hoge
hoge
hoge

ENV

Name Description
ENV1 ENV1 desc
ENV2 ENV2 desc

Dependency

Name Description
dependency2 dependency2 description

Contributing

  1. Fork it ( https://github.com/tbpgr/ruboty-ume/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request