A Slack Bot that pulls Pixiv information and posts the full image(s) into Slack, with iOS shortcuts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
347 B

  1. $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'app'))
  2. $LOAD_PATH.unshift(File.dirname(__FILE__))
  3. require 'boot'
  4. Bundler.require :default, ENV['RACK_ENV']
  5. Dir[File.expand_path('../initializers', __FILE__) + '/**/*.rb'].each do |file|
  6. require file
  7. end
  8. require File.expand_path('../application', __FILE__)
  9. require 'slack_mathbot'