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
362 B

# coding: utf-8
module SlackMathbot
module Commands
class Pixiv < SlackRubyBot::Bot
match /pixiv\.net(?<url>.*)$/ do |client, _data, _match|
#asdf
client.say(channel: _data.channel, text: "Testing: http://pixiv.net#{_match[:url]}")
#send_message client, _data.channel, "Testing: #{_match[:url]}"
end
end
end
end