Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mataku/ruboty-gekiron
Ruboty handler to generate conversation topic in Japanese
https://github.com/mataku/ruboty-gekiron
Last synced: 12 days ago
JSON representation
Ruboty handler to generate conversation topic in Japanese
- Host: GitHub
- URL: https://github.com/mataku/ruboty-gekiron
- Owner: mataku
- License: mit
- Created: 2017-06-17T13:41:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T14:50:16.000Z (over 7 years ago)
- Last Synced: 2024-12-24T00:38:49.609Z (12 days ago)
- Language: Ruby
- Homepage:
- Size: 53.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ruboty::Gekiron (激論)
[![Build Status](https://travis-ci.org/rhythnn/ruboty-gekiron.svg?branch=master)](https://travis-ci.org/rhythnn/ruboty-gekiron)
Roboty handler to generate conversation topic.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'ruboty-gekiron'
```And then execute:
```
$ bundle
```Or install it yourself as:
```
$ gem install ruboty-gekiron
```Then, create topics yaml file `./config/topics.yml` in your bot code repository (or, specify file path by `TOPICS_YAML_FILE_PATH`)
```yaml
# example
- テンションが上がるもの
- 今流行っているもの
- さらりと言えたらかっこいい言葉
```## Usage
```
@ruboty help
/gekiron/ - 激論しそうな話題を返します
ruboty /topic|gekiron|激論/ - 激論しそうな話題を返します@ruboty gekiron
「ふ」から始まる、テンションが上がるものは?gekiron
「な」から始まる、さらりと言えたらかっこいい言葉は?
```## ENV
```
TOPICS_YAML_FILE_PATH - Topics file path (default: ./config/topics.yml)
```