Browse Source

Testing attachments with say

master
Daniel Muckerman 8 years ago
parent
commit
9fddbe5754
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

@ -7,7 +7,7 @@ module SlackMathbot
#asdf
puts _match[:url]
#client.say(channel: _data.channel, text: "Testing: http://pixiv.net#{_match[:url]}")
client.chat_postMessage(channel: _data.channel, attachments: "[{'pretext': 'pre-hello', 'text': 'text-world'}]")
client.say(channel: _data.channel, attachments: "[{'pretext': 'pre-hello', 'text': 'text-world'}]")
#send_message client, _data.channel, "Testing: #{_match[:url]}"
end

Loading…
Cancel
Save