Skip to content

watatomo/wttm_qtbot

Repository files navigation

@wttm_qtbot

真白友也と日々樹渉

License Status

@wttm_qtbot is a Twitter bot that publishes (translated) quotes pertaining to Tomoya Mashiro and Wataru Hibiki's relationship in hopes of making others consider the pair. More quotes will be added over time.

Interested in the pair? Here's a guide about them in the works!

Features

TBD

Quick Start

Apply for a Developer account using the bot's Twitter. Create an app and generate consumer keys.

$ cd /DIRECTORY_WHERE_THE_BOT_IS_STORED
$ git clone --single-branch -b master https://github.com/watatomo/wttm_qtbot.git
$ npm install

Edit package.json to have the bot's information. Fill out example.env and rename it to .env (or make a new file and name it that).

CONSUMER_KEY=
CONSUMER_SECRET=
ACCESS_TOKEN=
ACCESS_TOKEN_SECRET=
POST_TO_TWITTER=true

Updating

Use git fetch && git pull to update. If on a server, run the bot using pm2 start index.js (don't forget to cd into the bot's directory).