/furbot

Primary LanguageRubyMIT LicenseMIT

Sweetie Bot

A simple Philomena-based booru image fetching bot with a few extra additions for spice.

Running

Prerequisites

  • Linux (Debian Stretch / Ubuntu 16.04 or newer recommended)
  • Ruby 2.7.1
  • libsqlite3-dev
sudo apt-get install libsqlite3-dev

Cloning the Repo and Running

First, clone the repository and navigate to it's folder

git clone https://github.com/furbooru/furbot
cd furbot

Install all the required packages using Bundler

bundle install

Copy the example config file (located in the config/ folder) and modify it

cp settings.example.yml settings.yml

Migrate the database (Please note that this migration engine is hilariously broken. Basically you can only migrate it once and then it breaks.) (todo: rewrite everything)

rake db:migrate

Once you're done, you can run the bot by running

./bin/sweetie-bot

If you want to load a specific configuration file, you can use -c to specify it's location

./bin/sweetie-bot -c settings.yml

Configuration

The provided settings.example.yml file is well-commented and should provide enough documentation for you to tweak the bot to your liking.

If running as self-bot, make sure to change :bot to :user in client_type! Running a self-bot is highly discouraged and is against Discord ToS.