mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update __init__.py
This commit is contained in:
parent
ec8975c9e3
commit
8f3371dcd5
@ -3074,7 +3074,6 @@ class TeleBot:
|
|||||||
elif message_filter == 'func':
|
elif message_filter == 'func':
|
||||||
return filter_value(message)
|
return filter_value(message)
|
||||||
else:
|
else:
|
||||||
if message_filter in self.custom_filters:
|
|
||||||
if message_filter in self.custom_filters:
|
if message_filter in self.custom_filters:
|
||||||
filter_check = self.custom_filters.get(message_filter)
|
filter_check = self.custom_filters.get(message_filter)
|
||||||
if filter_value == filter_check.check(message): return True
|
if filter_value == filter_check.check(message): return True
|
||||||
|
Loading…
Reference in New Issue
Block a user