Skip to content

Commit

Permalink
Fix for skulls showing up like Ark_burn
Browse files Browse the repository at this point in the history
  • Loading branch information
pDaily committed Sep 2, 2015
1 parent 2f62adc commit 4d50c24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/lita/handlers/destiny.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def api_key
def build_activity_message(activity, response, color, thumb_url)
skull_fields = []
activity[:skulls].each do |skull|
# Remove _ in symbol names
skull.to_s.split(/ |\_/).map(&:capitalize).join(" ")
skull_hash = {
title: skull,
value: "",
Expand Down

0 comments on commit 4d50c24

Please sign in to comment.