Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First connect to irc, then start telegram #3

Open
PostalBlab opened this issue May 8, 2020 · 0 comments
Open

First connect to irc, then start telegram #3

PostalBlab opened this issue May 8, 2020 · 0 comments

Comments

@PostalBlab
Copy link
Owner

The bot tries to send messages to the irc during startup, even if it is not connected

ERROR asyncio Exception in callback IrcBot.privmsg('#XXX', '<XXX> Wir n...ehr empfehlen', True) handle: <Handle IrcBot.privmsg('#churchofroot', '<Nico> Wir n...ehr empfehlen', True)> Traceback (most recent call last): File "/usr/lib64/python3.6/asyncio/events.py", line 145, in _run self._callback(*self._args) File "/XXX/VectronBot/botenv/lib64/python3.6/site-packages/irc3/__init__.py", line 237, in privmsg nowait=nowait) File "/XXX/VectronBot/botenv/lib64/python3.6/site-packages/irc3/__init__.py", line 187, in send_line self.send(data.replace('\n', ' ').replace('\r', ' ')) File "/XXX/VectronBot/botenv/lib64/python3.6/site-packages/irc3/__init__.py", line 220, in send self._send(data) File "/XXXt/VectronBot/botenv/lib64/python3.6/site-packages/irc3/__init__.py", line 223, in _send self.protocol.write(data) AttributeError: 'IrcBot' object has no attribute 'protocol'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant