1
0
Fork
You've already forked aine-bot
0
Twitter bot who posts pictures, videos, and GIFs of Yuuki Aine from the anime Aikatsu Friends.
  • Ruby 97.9%
  • Shell 2.1%
Reboot f76c27c141 Fix posting videos and gifs
Needed to use chunk uploading
2023年11月24日 21:21:55 +01:00
lib Fix posting videos and gifs 2023年11月24日 21:21:55 +01:00
tools Move create dir to tools folder 2022年12月16日 16:17:28 +01:00
.gitignore Add bundle stuff to gitignore + config 2022年12月16日 16:15:12 +01:00
aine.rb Move run function out of CharaBot class 2023年11月17日 18:00:46 +01:00
config.yaml.default Replace twitter gem 2023年11月17日 16:53:59 +01:00
Gemfile Replace twitter gem 2023年11月17日 16:53:59 +01:00
Gemfile.lock Replace twitter gem 2023年11月17日 16:53:59 +01:00
README.md Switch from JSON to YAML and fix README.md 2020年06月22日 17:41:35 +02:00

Aine Bot

Twitter bot who posts pictures, videos, and GIFs of Yuuki Aine from the anime Aikatsu Friends.

Installation

  1. $ git clone https://github.com/IrreversibleReboot/aine_bot.git
  2. $ cd aine_bot
  3. $ bundle install
  4. $ cp config.yaml.default config.yaml
  5. Edit the config.yaml accordingly.
  6. Optional: if you don't already have a media folder set up, use $ ./create_dir_structure.sh to create one.

Usage

Use $ ruby bot.rb <command> <arguments> or $ ./bot.rb <command> <arguments>.

List of commands

Command Arguments Description
post -d, --dry: Don't actually post the image. Post a random image from the storage path.
stats Print a stats table to STDOUT.

Media directory structure

The bot relies on the media directory's structure to choose which message to post along with the chosen picture. As such, it's important to respect it.

Folder name Description
fure_dcd Data Cardass Aikatsu Friends! screenshots.
fure_ep** Aikatsu Friends! episode screenshots. Goes from 01 to 76.
fure_opening* Aikatsu Friends! opening screenshots. Goes from 1 to 3.
fure_ending* Aikatsu Friends! ending screenshots. Goes from 1 to 3.
onpa_dcd Data Cardass Aikatsu On Parade! screenshots.

Using create_dir_structure.sh will automatically generate this structure.