ki's People
ki's Issues
Not storing pokemon correctly in database
Nidoran images aren't downloaded
Error
Exception in callback Loop.restart.<locals>.restart_when_over(<Task cancell...init__.py:88>>) at E:\Projects\Ki\venv\lib\site-packages\discord\ext\tasks\__init__.py:261 handle: <Handle Loop.restart.<locals>.restart_when_over(<Task cancell...init__.py:88>>) at E:\Projects\Ki\venv\lib\site-packages\discord\ext\tasks\__init__.py:261> Traceback (most recent call last): File "C:\Users\IB\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 80, in _run self._context.run(self._callback, *self._args) File "E:\Projects\Ki\venv\lib\site-packages\discord\ext\tasks\__init__.py", line 263, in restart_when_over self.start(*args, **kwargs) File "E:\Projects\Ki\venv\lib\site-packages\discord\ext\tasks\__init__.py", line 205, in start raise RuntimeError('Task is already launched and is not completed.') RuntimeError: Task is already launched and is not completed. E:/Projects/Ki/Images/Nidoran??/1.png: Invalid argument
Spam allows mentioning players
While checking who caught the pokemon, if the user has has specified Poketwo not to mention them the bot can't get user id
Account stuck taking hints for "Sobble", "Starly"
Pokemon data doesn't update on Database after trade
Once traded the data doesn't update on the database. So the automated account uses the previous list which still contains the Pokemon already traded
Automated account doesn't update data in database for shiny hunted pokemon
If an automated account catches its shiny hunted Pokemon it doesn't update both its list and its streak on database after catching it.
Error:
Ignoring exception in on_message Traceback (most recent call last): File "E:\Projects\Ki\venv\lib\site-packages\discord\client.py", line 343, in _run_event await coro(*args, **kwargs) File "E:\Projects\Ki\Ki.py", line 89, in on_message poke = await client.catch.who_catches() File "E:\Projects\Ki\cogs\catching.py", line 121, in who_catches await self.shiny_hunt.update_streak(master["slave"]["id"], True) File "E:\Projects\Ki\cogs\shinyhunt.py", line 122, in update_streak if(int(slave["id"]) == user_id): KeyError: 'id'
Ineffiecient way of sending automated messages
Currently for each message that an automated account needs to send, it changes to the needed channel first.
This greatly decreases the speed at which the account can send messages and react to events.
Storing the current channel in which the account is active in and switching only when necessary might improve the speed
Improvement for filtering wares
Automated accounts catch pokemon regardless of whether users have them or not
When only one pokemon is added the automated account still tries to go the next page
Ki unnecesarily asks user to move to next page while making a list
Function crashes if it can't find Pokemon
If no automated account has any better Pokemon to trade, the replace_better_pokemon() function crashes instead of cancelling the trade.
Error:
An exception has occurred while executing command
trading: Traceback (most recent call last): File "E:\Projects\Ki\venv\lib\site-packages\discord_slash\client.py", line 1352, in invoke_command await func.invoke(ctx, **args) File "E:\Projects\Ki\venv\lib\site-packages\discord_slash\model.py", line 209, in invoke return await self.func(self.cog, *args, **kwargs) File "E:\Projects\Ki\cogs\trading.py", line 91, in trading await self.replace_better_pokemon(ctx.author) File "E:\Projects\Ki\cogs\trading.py", line 207, in replace_better_pokemon self.pokemon_to_return = await self.get_best_pokemon() File "E:\Projects\Ki\cogs\trading.py", line 349, in get_best_pokemon max_iv = best_pokemon[self.client.available_slaves[0]["name"]][1] KeyError: 'Winston'
Sometimes the automated accounts don't catch pokemon
Bot doesn't know what to do with "Type: Null"
Account status not updating fast enough
Ki checks what accounts are online by their respective master bot's discord status. Discord takes a while to update this status and hence if you close an account and immediately check what accounts are online it treats the closed account as an online one. Maybe this could be improved by checking the status of the accounts themselves as those seem to update faster.
Ki asks you to confirm trade incessently
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.