Open imLifeline opened 3 years ago
Actually I'm also facing the same error... After going through the database and the code, I realized it's because the data format has changed since this repo was last updated.
I think I have fixed the issue (there were multiple issues besides the national_id problem)
@hhhunterwolf Sorry I haven't been able to get back to you recently been too busy with work and grad school so haven't had much time to maintain these projects :(. It does spawn a random pokemon and saves it to your account name you're using for discord in the database you specified. Here's a screenshot of what it does back when it was still working:
Like @surya62579 mentioned it might be due to the pokemon API's format changing that could've caused the errors you're seeing now. I'll have to confirm but it definitely changed before and had a similar issue.
@surya62579 if you can please send in a Pull Request of your changes I can review it and push it in so that others can benefit, thanks!
Ok. Sorry for not replying to you for a long time since I moved my attention to a bot that I'm working on currently.
I have made a pull request.
Donno if u still continue this project but worth a shot, so the
!poke catch
gives an error when used:discord.ext.commands.errors.CommandInvokeError: Command raised an exception: KeyError: 'national_id
and idk what that means, and also does this bot spawn pokemons? Responding will be a great help! Thank you