diff --git a/slack-greeting.md b/posts/bounty/slack-greeting.md similarity index 100% rename from slack-greeting.md rename to posts/bounty/slack-greeting.md diff --git a/posts/bounty/slack-lbry-url-handler.md b/posts/bounty/slack-lbry-url-handler.md new file mode 100644 index 00000000..d2d05b1d --- /dev/null +++ b/posts/bounty/slack-lbry-url-handler.md @@ -0,0 +1,15 @@ +--- +category: slack +title: Create a URL Handler for Slack +award: 1000 +status: available +date: '2016-07-01' +--- + +Create a script or Slackbot that will: + +- Use the Slack API to monitor all messages in all channels +- Detect messages sent with LBRY URLs, e.g. `lbry://oprahbees` +- Look up LBRY URLs +- Detect if the image resolves to a GIF/GIFV and has no license payment +- Fetch and display the image diff --git a/view/template/bounty/list.php b/view/template/bounty/list.php index 666113ff..ba9390cb 100644 --- a/view/template/bounty/list.php +++ b/view/template/bounty/list.php @@ -50,7 +50,8 @@ case 'android': echo 'icon-android'; break; case 'ios': echo 'icon-apple'; break; case 'browser': echo 'icon-globe'; break; - case 'human': echo 'icon-users'; break; + case 'human': echo 'icon-users'; break; + case 'slack': echo 'icon-slack'; break; default: echo 'icon-dollar'; break; } ?> ">