Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Added zendesklinking script #6

merged 2 commits into from

2 participants


No description provided.


+1 great feature!

@angrycub angrycub merged commit 95189e0 into from
@angrycub angrycub deleted the branch
@angrycub angrycub restored the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 10, 2013
  1. @angrycub

    Added zendesklinking script

    angrycub authored
Commits on Mar 11, 2013
  1. @angrycub
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 0 deletions.
  1. +11 −0 scripts/
11 scripts/
@@ -0,0 +1,11 @@
+# ZenDesk Linker
+# Attempts to naively build a link to a zendesk ticket whenever the
+# word ticket or request is followed with a # and a number.
+module.exports = (robot) ->
+ robot.hear /(ticket|response|review)[^#]*?#\s*(\d+)/i, (msg)->
+ ticketNum = escape(msg.match[2])
+ msg.send ""+ticketNum
Something went wrong with that request. Please try again.