diff --git a/slack-pixiv/commands/pixiv.rb b/slack-pixiv/commands/pixiv.rb index 01751dc..e2a9f46 100644 --- a/slack-pixiv/commands/pixiv.rb +++ b/slack-pixiv/commands/pixiv.rb @@ -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