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

$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'slack-pixiv'
require 'web'
Thread.new do
begin
SlackPixiv::App.instance.run
rescue Exception => e
STDERR.puts "ERROR: #{e}"
STDERR.puts e.backtrace
raise e
end
end
run SlackPixiv::Web