mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update custom_filters.py
This commit is contained in:
parent
5d611ea7f3
commit
e89acc8ba6
@ -40,7 +40,7 @@ def bye_user(message):
|
||||
|
||||
|
||||
# Do not forget to register filters
|
||||
bot.add_custom_filter(MainFilter)
|
||||
bot.add_custom_filter(IsAdmin)
|
||||
bot.add_custom_filter(MainFilter())
|
||||
bot.add_custom_filter(IsAdmin())
|
||||
|
||||
bot.polling(skip_pending=True,non_stop=True) # Skip old updates
|
Loading…
Reference in New Issue
Block a user