Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.89 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.89 KB

kanojo bot.

Build Status Code Climate Test Coverage Inline docs

@sugyan_knj_bot loves @sugyan

inspired by genki-bot

how to use(local)

get self access token

set env

export TWITTER_CONSUMER_KEY=your key
export TWITTER_CONSUMER_SECRET=your secret
export TWITTER_ACCESS_TOKEN=your token
export TWITTER_ACCESS_TOKEN_SECRET=your token secret
export DOCOMO_API_KEY=your API key

or vi .env (using dotenv)

TWITTER_CONSUMER_KEY=your key
TWITTER_CONSUMER_SECRET=your secret
TWITTER_ACCESS_TOKEN=your token
TWITTER_ACCESS_TOKEN_SECRET=your token secret
DOCOMO_API_KEY=your API key

execute KanojoBot.daisuki

% bundle install
% bundle exec ruby bin/kanojo_bot -d

WARNING: not use -d is really post(You will want to Bitch).

how to add word?

editting for yaml.

Heroku to Deploy

heroku config:set BUNDLE_WITHOUT="development:test"