Don't catch up on reconnect and fix typo

The feature is not ready yet.
This commit is contained in:
Lonami Exo
2019-04-22 16:56:32 +02:00
parent 8868ce14e8
commit 4e783728f9
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ class NewMessage(EventBuilder):
incoming = not outgoing
elif all(x is not None and not x for x in (incoming, outgoing)):
raise ValueError("Don't create an event handler if you "
"don't want neither incoming or outgoing!")
"don't want neither incoming nor outgoing!")
super().__init__(chats, blacklist_chats=blacklist_chats, func=func)
self.incoming = incoming