Traceback (most recent call last):


 "exploit.py", line 68, in <module>

io.sendline(len(JAVASCRIPT_OR_HTML))


 "/Users/heapcrash/.pyenv/versions/3.8.8/lib/python3.8/site-packages/pwnlib/tubes/tube.py", line 796, in sendline

line = context._encode(line)


 "/Users/heapcrash/.pyenv/versions/3.8.8/lib/python3.8/site-packages/pwnlib/context/__init__.py", line 835, in _encode

return s.encode('latin1')
AttributeError: 'int' object has no attribute 'encode'

Traceback (most recent call last): 
 "red.py", line 614, in <module> loop.rununtil_complete(main(bot)) 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 467, in run_until_complete return future.result() 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 294, in result raise self._exception 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 242, in _step result = coro.throw(exc) 
 "red.py", line 603, in main yield from bot.connect() 
 "lib\discord\client.py", line 451, in connect self.ws = yield from DiscordWebSocket.from_client(self, resume=True) 
 "lib\discord\gateway.py", line 198, in from_client gateway = yield from client.http.get_gateway() 
 "lib\discord\http.py", line 633, in get_gateway data = yield from self.request(Route('GET', '/gateway')) 
 "lib\discord\http.py", line 137, in request r = yield from self.session.request(method, url, **kwargs) 
 "lib\aiohttp\client.py", line 555, in __iter_ resp = yield from self.coro 
 "lib\aiohttp\client.py", line 209, in _request raise aiohttp.ClientResponseError() from exc aiohttp.errors.ClientResponseError Task was destroyed but it is pending! task: <Task pending coro=<Audio.queue_scheduler() running at D:\MusicBot\cogs\audio.py:2419> wait_for=<Future pending cb=[Task._wakeup()]>> Task was destroyed but it is pending! task: <Task pending coro=<Audio.disconnect_timer() running at D:\MusicBot\cogs\audio.py:2213> wait_for=<Future pending cb=[Task._wakeup()]>> Task exception was never retrieved future: <Task finished coro=<WebSocketCommonProtocol.run() done, defined at lib\websockets\protocol.py:428> exception=ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)> Traceback (most recent call last): 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 242, in _step result = coro.throw(exc) 
 "lib\websockets\protocol.py", line 434, in run msg = yield from self.read_message() 
 "lib\websockets\protocol.py", line 456, in read_message frame = yield from self.read_data_frame(max_size=self.max_size) 
 "lib\websockets\protocol.py", line 511, in read_data_frame frame = yield from self.read_frame(max_size) 
 "lib\websockets\protocol.py", line 546, in read_frame self.reader.readexactly, is_masked, max_size=max_size) 
 "lib\websockets\framing.py", line 86, in read_frame data = yield from reader(2) 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 668, in readexactly yield from self._wait_for_data('readexactly') 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\streams.py", line 458, in _wait_for_data yield from self._waiter 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 381, in __iter_ yield self # This tells Task to wait for completion. 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 310, in _wakeup future.result() 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 294, in result raise self._exception 
 "C:\Users\awsan\AppData\Local\Programs\Python\Python35\lib\asyncio\selector_events.py", line 723, in _read_ready data = self._sock.recv(self.max_size) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host Task was destroyed but it is pending! task: <Task pending coro=<Streams.stream_checker() running at D:\MusicBot\cogs\streams.py:624> wait_for=<Future pending cb=[Task._wakeup()]>> Task was destroyed but it is pending! task: <Task pending coro=<Audio.cache_manager() done, defined at D:\MusicBot\cogs\audio.py:2155> wait_for=<Future pending cb=[Task._wakeup()]>>