only show first name in cards command

pull/1/head
qwewqa 4 years ago
parent 0507e50ad0
commit 0e37cabdfa
  1. 2
      miyu_bot/commands/cogs/card.py

@ -217,7 +217,7 @@ class Card(commands.Cog):
def format_card_name_for_list(self, card):
unit_emoji = self.bot.get_emoji(unit_emoji_ids_by_unit_id[card.character.unit_id])
attribute_emoji = self.bot.get_emoji(attribute_emoji_ids_by_attribute_id[card.attribute_id])
return f'`{unit_emoji}`+`{attribute_emoji}` {card.rarity_id}{card.name} {card.character.full_name_english}'
return f'`{unit_emoji}`+`{attribute_emoji}` {card.rarity_id}{card.name} {card.character.first_name_english}'
class CardAttribute(enum.Enum):

Loading…
Cancel
Save