       foundStats.unshift(primaryStat)
 
     foundStats.filter (x) -> x
-
-  # returns emoji based on damage type for use in title
-  'emojiFromDamageType': (item) ->
-    arcEmoji = ':bladedancer:'
-    solarEmoji = ':firebolt:'
-    voidEmoji = ':voidwalker:'
-
-    damageType = item.damageDefs[item.damageType].damageTypeName
-    switch damageType
-      when "Arc" then arcEmoji
-      when "Solar" then solarEmoji
-      when "Void" then voidEmoji
-      else  ""
 
   # removes invalid nodes, orders according to column attribute
   'filterNodes': (nodes, nodeDefs) ->

      string.slice(0, -3)

    fallback: item.itemDescription
    title: "#{item.itemName} #{damageEmoji}"
    title_link: item.itemLink
    color: item.color
    text: formattedText.join('\n')

      @vendorDefs = JSON.parse(body)

  'serializeFromApi': (response) ->
    # rarityColor =
    #   Uncommon: '#f5f5f5'
    #   Common: '#2f6b3c'
    #   Rare: '#557f9e'
    #   Legendary: '#4e3263'
    #   Exotic: '#ceae32'

    damageColor =
      Kinetic: '#d9d9d9'
      Arc: '#80b3ff'
      Solar: '#e68a00'
      Void: '#400080'

    item = response.data.item
    hash = item.itemHash
    itemDefs = response.definitions.items[hash]
    damageTypeName = response.definitions.damageTypes[item.damageTypeHash].damageTypeName

    prefix = 'http://www.bungie.net'
    iconSuffix = itemDefs.icon
