Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

League 'accountId' #62

Open
1337god opened this issue Dec 1, 2020 · 1 comment
Open

League 'accountId' #62

1337god opened this issue Dec 1, 2020 · 1 comment

Comments

@1337god
Copy link

1337god commented Dec 1, 2020

Traceback (most recent call last):
  File "/home/X/redenv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
    ret = await coro(*args, **kwargs)
  File "/home/X/.local/share/Red-DiscordBot/data/X/cogs/CogManager/cogs/League/league.py", line 152, in history
    histo = await self.stats.get_history(count, region, summoner)
  File "/home/X/.local/share/Red-DiscordBot/data/X/cogs/CogManager/cogs/League/neeko.py", line 220, in get_history
    sumid = await self.get_account_id(region, summoner)
  File "/home/X/.local/share/Red-DiscordBot/data/X/cogs/CogManager/cogs/League/neeko.py", line 71, in get_account_id
    return js["accountId"]
KeyError: 'accountId'```

How do I set one?
@Malarne
Copy link
Owner

Malarne commented Jan 15, 2021

your api key might be wrong or you got ratelimited, unload the cog and wait for a day or two before retrying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants