1
0
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:
coder2020official 2021-09-12 00:27:04 +05:00
parent 5d611ea7f3
commit e89acc8ba6

View File

@ -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