Kylie Jo Swistak il y a 6 ans
Parent
commit
741d9b4920
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 1
      app/responses/character.rb
  2. 1 0
      lib/emoji.rb

+ 1 - 1
app/responses/character.rb

@@ -112,7 +112,7 @@ end
 
 def char_type(char, fields)
   fields.push(
-    { name: 'Species', value: char.species, inline: true }
+    { name: 'Species', value: "#{char.species} #{Emoji::STAR}", inline: true }
   )if char.species
   fields.push(
     { name: 'Type', value: char.types, inline: true }

+ 1 - 0
lib/emoji.rb

@@ -70,6 +70,7 @@ module Emoji
   FAMILY = "👪"
   EYES = "👀"
   SMIRK = "😏"
+  STAR = "⭐"
 
 
   LETTERS = [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z]