A Ruboty Handler + Actions to output N line messages.
Ruboty is Chat bot framework. Ruby + Bot = Ruboty
Add this line to your application's Gemfile:
gem 'ruboty-ume'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruboty-ume
> ruboty help
ruboty /ume (?<count>.*?)\z/ - output empty message N lines (<count> times)
> ruboty ume 3
.
.
.
> ruboty ume 5
.
.
.
.
.
> 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
nothing
nothing
nothing
- This plugin's product code template is generated by ruboty-gen GitHub
- This plugin's test code template is generated by rspec_piccolo GitHub
- 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