Advertisement
swimmerhair

Swimbot Error

Feb 16th, 2021
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.79 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/pi/Swimbot/whois.py", line 216, in whois
  3.     info = await COC.swimbot(document['_id']).update
  4.   File "/home/pi/Swimbot/COC.py", line 147, in update
  5.     resp = await Player(self.input).info
  6.   File "/home/pi/Swimbot/COC.py", line 36, in info
  7.     elif r.status == 404: raise swimbot_utils.CoCPlayerNotFound
  8. swimbot_utils.CoCPlayerNotFound
  9.  
  10. During handling of the above exception, another exception occurred:
  11.  
  12. Traceback (most recent call last):
  13.   File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 85, in wrapped
  14.     ret = await coro(*args, **kwargs)
  15.   File "/home/pi/Swimbot/whois.py", line 218, in whois
  16.     await COC.swimbot(document('_id')).unlink #unlinks account of tag is not found.
  17. TypeError: 'dict' object is not callable
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement