popcorn9499 / chatBot

a chatbot that will relay messages to different channels and from different services. aka discord irc youtube and twitch
GNU General Public License v3.0
3 stars 0 forks source link

irc reloading #24

Open popcorn9499 opened 5 years ago

popcorn9499 commented 5 years ago
Traceback (most recent call last):
  File "/home/master/chatBot/sites/irc.py", line 77, in handleMsg
    data = (await self.reader[host].readuntil(b'\n')).decode("utf-8")
  File "/usr/lib/python3.7/asyncio/streams.py", line 588, in readuntil
    await self._wait_for_data('readuntil')
  File "/usr/lib/python3.7/asyncio/streams.py", line 473, in _wait_for_data
    await self._waiter
  File "/usr/lib/python3.7/asyncio/selector_events.py", line 801, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
ConnectionResetError: [Errno 104] Connection reset by peer

should potentially add a keep alive task.

Maybe a rewrite to irc is in order