Ruboty::Ume
A 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
Or install it yourself as:
$ gem install ruboty-ume
Usage
Ume empty messages
> ruboty help
ruboty /ume (?<count>.*?)\z/ - output empty message N lines (<count> times)
> ruboty ume 3
.
.
.
> ruboty ume 5
.
.
.
.
.
Umec specific text messages
> 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
nothing
Screenshot
nothing
Dependency
nothing
Reference
- This plugin's product code template is generated by ruboty-gen GitHub
- This plugin's test code template is generated by rspec_piccolo GitHub
Contributing
- Fork it ( https://github.com/tbpgr/ruboty-ume/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request