Browse Source

Try send_message instead

master
Daniel Muckerman 8 years ago
parent
commit
66a83c1788
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      slack-pixiv/commands/pixiv.rb

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

@ -5,7 +5,8 @@ module SlackMathbot
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]}")
send_message client, _data.channel, "Testing: #{_match[:url]}"
end end
end end

Loading…
Cancel
Save