mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-04 20:20:23 +03:00
Error Message Typo
Either neither with nor or either with or, but neither either with nor nor neither with or.
This commit is contained in:
parent
a151d24951
commit
1fc42f845d
|
@ -49,7 +49,7 @@ class NewMessage(EventBuilder):
|
||||||
incoming = not outgoing
|
incoming = not outgoing
|
||||||
elif all(x is not None and not x for x in (incoming, 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 "
|
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)
|
super().__init__(chats, blacklist_chats=blacklist_chats, func=func)
|
||||||
self.incoming = incoming
|
self.incoming = incoming
|
||||||
|
|
Loading…
Reference in New Issue
Block a user