Chatwork adapter for Ruboty.
Get your ChatWork API Token
# Gemfile
gem 'ruboty-chatwork'
CHATWORK_API_TOKEN - ChatWork API Token
CHATWORK_ROOM - ChatWork Room ID
CHATWORK_API_RATE - ChatWork API Rate(Requests per Hour)
CHATWORK_ROOM_FOR_SAYING - ChatWork Room ID for Saying(Optional)
- Priority is high in numerical order (lower is ignored)
room_id:12345678
statement at last in message by saying- ex.
ruboty Good Morning! room_id:12345678
- ex.
room_id
key inreply
method- ex.
message.reply("Hello!", room_id:12345678)
- ex.
- ENV["CHATWORK_ROOM_FOR_SAYING"]
- ENV["CHATWORK_ROOM"]
- Note
- regexp of extracting
room_id
is poor ;)
- regexp of extracting
- Fork it ( http://github.com/mhag/ruboty-chatwork/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 new Pull Request