Traceback (most recent call last):


 "/home/.../.local/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped

ret = await coro(*args, **kwargs)


 "a.py", line 21, in send

await message.edit(file=discord.
('2.png'))


 "/home/.../.local/lib/python3.8/site-packages/discord/message.py", line 884, in edit

data = await self._state.http.edit_message(self.channel.id, self.id, **fields)


 "/home/.../.local/lib/python3.8/site-packages/discord/http.py", line 156, in request

kwargs['data'] = utils.to_json(kwargs.pop('json'))


 "/home/..../.local/lib/python3.8/site-packages/discord/utils.py", line 318, in to_json

return json.dumps(obj, separators=(',', ':'), ensure_ascii=True)


 "/usr/lib/python3.8/json/__init__.py", line 234, in dumps

return cls(


 "/usr/lib/python3.8/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/usr/lib/python3.8/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)


 "/usr/lib/python3.8/json/encoder.py", line 179, in default

raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type 
 is not JSON serializable

Traceback (most recent call last):



 "/home/adb/.venvs/py38/bin/howdoi", line 8, in <module>


sys.exit(command_line_runner())



 "/home/adb/.venvs/py38/lib/python3.8/site-packages/howdoi/howdoi.py", line 757, in command_line_runner

utf8_result = howdoi(args).encode('utf-8', 'ignore')



 "/home/adb/.venvs/py38/lib/python3.8/site-packages/howdoi/howdoi.py", line 578, in howdoi


return _parse_cmd(args, res)



 "/home/adb/.venvs/py38/lib/python3.8/site-packages/howdoi/howdoi.py", line 540, in _parse_cmd


answer = _format_answers(args, res)



 "/home/adb/.venvs/py38/lib/python3.8/site-packages/howdoi/howdoi.py", line 458, in _format_answers

next_ans = answer["answer"]

TypeError: string indices must be integers
