mirror of
https://github.com/Rainyy21/lol_discordbot
synced 2026-10-11 00:40:31 -04:00
fix some bug that doesn't let user to sign in and connect with discord, added some test
This commit is contained in:
@@ -67,7 +67,7 @@ async def get_rank(summoner_id: str) -> dict | None:
|
||||
)
|
||||
|
||||
|
||||
async def get_match_ids(puuid: str, cont: int = 5) -> dict | None:
|
||||
async def get_match_ids(puuid: str, count: int = 5) -> dict | None:
|
||||
return await riot_get(
|
||||
f"https://{CLUSTER}.api.riotgames.com"
|
||||
f"/lol/match/v5/matches/by-puuid/{puuid}/ids?count={count}"
|
||||
|
||||
Reference in New Issue
Block a user