Ruboty::Eto
An Ruboty Handler + Actions to Get Eto (Japanese Zodiac) name or emoji.
Ruboty is Chat bot framework. Ruby + Bot = Ruboty
Installation
Add this line to your application's Gemfile:
gem 'ruboty-eto'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruboty-eto
Commands
Command | Pattern | Description |
---|---|---|
names | /eto names\z/ | get eto names |
name | /eto name (?<year>d4)\z/ | get eto name from year |
emoji | /eto emoji (?<year>d4)\z/ | get eto emoji from year |
Usage
names
- get eto names
>ruboty eto names
>子丑寅卯辰巳午未申酉戌亥
name
- get eto name from year
>ruboty eto name 1977
>巳
emoji
- get eto emoji from year
>ruboty eto name 1977
>:snake:
ENV
Name | Description |
---|---|
-- | -- |
Dependency
Name | Description |
---|---|
eto gem | eto gem |
Contributing
- Fork it ( https://github.com/tbpgr/ruboty-eto/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