浏览代码

shiny star

Kylie Jo Swistak 6 年之前
父节点
当前提交
741d9b4920
共有 2 个文件被更改,包括 2 次插入1 次删除
  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]