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.

16 lines
261 B

  1. $LOAD_PATH.unshift(File.dirname(__FILE__))
  2. require 'slack-pixiv'
  3. require 'web'
  4. Thread.new do
  5. begin
  6. SlackPixiv::App.instance.run
  7. rescue Exception => e
  8. STDERR.puts "ERROR: #{e}"
  9. STDERR.puts e.backtrace
  10. raise e
  11. end
  12. end
  13. run SlackPixiv::Web