mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 03:55:26 +00:00
👽 Change redeem code api to new
This commit is contained in:
parent
4ef3be102c
commit
69bc4f878e
@ -84,7 +84,7 @@ class RedeemRunner:
|
||||
) as client:
|
||||
client: "StarRailClient"
|
||||
result.uid = client.player_id
|
||||
await client.redeem_code_by_hoyolab(result.code)
|
||||
await client.redeem_code(result.code)
|
||||
except RegionNotSupported:
|
||||
error = "此服务器暂不支持进行兑换哦~"
|
||||
except RedemptionInvalid:
|
||||
|
Loading…
Reference in New Issue
Block a user