|
@ -2,7 +2,7 @@ |
|
|
module SlackMathbot |
|
|
module SlackMathbot |
|
|
module Commands |
|
|
module Commands |
|
|
class Pixiv < SlackRubyBot::Commands::Base |
|
|
class Pixiv < SlackRubyBot::Commands::Base |
|
|
match /pixiv\.net(?<url>.*)\?$/ do |client, _data, _match| |
|
|
|
|
|
|
|
|
match /pixiv\.net(?<url>.*)$/ do |client, _data, _match| |
|
|
|
|
|
|
|
|
#asdf |
|
|
#asdf |
|
|
client.say(channel: data.channel, text: "Testing: #{match[:url]}") |
|
|
client.say(channel: data.channel, text: "Testing: #{match[:url]}") |
|
|