Browse Source

Fixed /

master
Ryan Hammett 8 years ago
parent
commit
0a208936c1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      slack-pixiv/commands/pixiv.rb

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

@ -12,7 +12,7 @@ module SlackMathbot
puts pixiv_url
# Create iOS URL
ios_url = "pixiv://illusts" + pixiv_url.split('=')[-1]
ios_url = "pixiv://illusts/" + pixiv_url.split('=')[-1]
puts ios_url
# Scrape page title
@ -29,7 +29,7 @@ module SlackMathbot
attachments: [
{
fallback: title + " - " + pixiv_url,
text: "<" + ios_url + "/|iOSTest",
text: "<" + ios_url + "|iOSTest",
title: title,
title_link: pixiv_url,
image_url: image_url,

Loading…
Cancel
Save