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.

13 lines
285 B

  1. # coding: utf-8
  2. module SlackMathbot
  3. module Commands
  4. class Pixiv < SlackRubyBot::Commands::Base
  5. match /pixiv\.net(?<url>.*)\?$/ do |client, _data, _match|
  6. #asdf
  7. client.say(channel: data.channel, text: "Testing: #{match[:url]}")
  8. end
  9. end
  10. end
  11. end