Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

nikukyugamer/chatwork-ops-by-ruboty

Repository files navigation

Overviews

Installation

  • I recommend use Gemfile, bundle install --path vendor/bundle and bundle exec ruboty

Use gem install command

$ gem install ruboty
$ gem install ruboty-chatwork
$ gem install dotenv

Optional Installation as you like

$ gem install ruboty-google_image
$ gem install foreman
$ gem install mechanize
$ etc...

Prepare

  • you must edit .env file
    • refer sample.env
  • you must edit the name and the account id of chat members in config/users_info.yml
    • you can edit it not manually but automatically by chatwork-ruby

Execution

$ ruboty --load load_chatwork_ruboty.rb --dotenv

Note

if load_chatwork_ruboty.rb renames to ruboty.rb, collision occurs

Customize

  • You can create your own bots!
    • add your handler files in handlers/*.rb
    • handler files are auto loaded when exec Ruboty
  • You can include your Ruby logic!
    • add your codes in lib/

Limitation

  • per one execution, you can operate a bot in ONE room
    • if you wanna operate multi bots, exec multi Ruboty
      • CAUTION: be careful of rate limits...
  • about above, I send Pull Request!

LICENSE

MIT LICENSE

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •