Change some variable

- gacha --> banner
- list_namecard --> namecards
This commit is contained in:
M-307 2022-07-17 02:36:56 +07:00
parent fd9af4fc4e
commit 7863b82f17
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ async def main():
print(f"XP: {character.xp}")
print(f"Icon: {character.image.icon}")
print(f"Side icon: {character.image.side}")
print(f"Wish banner: {character.image.gacha}")
print(f"Wish banner: {character.image.banner}")
print("="*18)
loop = asyncio.get_event_loop()

View File

@ -14,7 +14,7 @@ async def main():
print(f"Icon URL: {data.player.namecard.icon}")
print("\n")
print("=== List Namecard ===")
for namecard in data.player.list_namecard:
for namecard in data.player.namecards:
print(f"ID: {namecard.id}")
print(f"Name: {namecard.name}")
print(f"Banner URL: {namecard.banner}")