Update main.py
Browse files
main.py
CHANGED
|
@@ -65,13 +65,13 @@ async def starrail_card(id, designtype, character_id=None, character_art_url=Non
|
|
| 65 |
return await card.create(id,force_update = True, style=(2 if str(designtype) == "2" else 1))
|
| 66 |
else:
|
| 67 |
# Fallback to the existing process
|
| 68 |
-
async with starrailcard.Card(seeleland=True, remove_logo=True, character_art=character_art,boost_speed = True) as card:
|
| 69 |
return await card.create(id,force_update = True, style=(2 if str(designtype) == "2" else 1))
|
| 70 |
|
| 71 |
|
| 72 |
# Star Rail profile creation
|
| 73 |
async def starrail_profile(id):
|
| 74 |
-
async with starrailcard.Card(remove_logo=True, seeleland=True,boost_speed = True) as card:
|
| 75 |
return await card.create_profile(id, style=2)
|
| 76 |
|
| 77 |
# Genshin profile creation
|
|
|
|
| 65 |
return await card.create(id,force_update = True, style=(2 if str(designtype) == "2" else 1))
|
| 66 |
else:
|
| 67 |
# Fallback to the existing process
|
| 68 |
+
async with starrailcard.Card(seeleland=True, remove_logo=True, character_art=character_art,boost_speed = True,enka=True) as card:
|
| 69 |
return await card.create(id,force_update = True, style=(2 if str(designtype) == "2" else 1))
|
| 70 |
|
| 71 |
|
| 72 |
# Star Rail profile creation
|
| 73 |
async def starrail_profile(id):
|
| 74 |
+
async with starrailcard.Card(remove_logo=True, seeleland=True,boost_speed = True,enka=True) as card:
|
| 75 |
return await card.create_profile(id, style=2)
|
| 76 |
|
| 77 |
# Genshin profile creation
|