Browse Source

Fixed a match issue cuz I'm an idiot

master
Daniel Muckerman 9 years ago
parent
commit
3ae05325be
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      slack-pixiv/commands/pixiv.rb

+ 1
- 1
slack-pixiv/commands/pixiv.rb View File

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

Loading…
Cancel
Save