mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 Fix client unable to get CharacterRanks
data
Previously, the client could not retrieve `CharacterRanks` data from the `client.get_spiral_abyss()` function if the app was not browsed first.
This commit is contained in:
parent
aa9ddfc267
commit
5261c7534c
@ -139,6 +139,7 @@ class AbyssPlugin(Plugin):
|
||||
try:
|
||||
try:
|
||||
async with self.helper.genshin(user.id) as client:
|
||||
await client.get_record_cards()
|
||||
images = await self.get_rendered_pic(client, client.player_id, floor, total, previous)
|
||||
except CookiesNotFoundError:
|
||||
# Cookie 不存在使用公开接口
|
||||
|
Loading…
Reference in New Issue
Block a user