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.

12 lines
281 B

9 years ago
  1. module SlackRubyBot
  2. module Commands
  3. class Default < Base
  4. command 'about'
  5. match(/^(?<bot>[\w[:punct:]@<>]*)$/)
  6. def self.call(client, data, _match)
  7. send_message_with_gif client, data.channel, SlackRubyBot::ABOUT, 'selfie'
  8. end
  9. end
  10. end
  11. end