From c8c82899760c64ad5aaa2500fbb5367b118622e9 Mon Sep 17 00:00:00 2001 From: Daniel Muckerman Date: Sun, 17 Jan 2016 22:36:59 -0500 Subject: [PATCH] Testing a thing --- slack-pixiv/commands/pixiv.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slack-pixiv/commands/pixiv.rb b/slack-pixiv/commands/pixiv.rb index a822564..f0551b7 100644 --- a/slack-pixiv/commands/pixiv.rb +++ b/slack-pixiv/commands/pixiv.rb @@ -1,12 +1,12 @@ # coding: utf-8 module SlackMathbot module Commands - class Pixiv < SlackRubyBot::Commands::Base + class Pixiv < SlackRubyBot::Bot match /pixiv\.net(?.*)$/ do |client, _data, _match| #asdf - #client.say(channel: _data.channel, text: "Testing: #{_match[:url]}") - send_message client, _data.channel, "Testing: #{_match[:url]}" + client.say(channel: _data.channel, text: "Testing: http://pixiv.net#{_match[:url]}") + #send_message client, _data.channel, "Testing: #{_match[:url]}" end end