Update admin_filter_example.py
This commit is contained in:
parent
e92946301f
commit
096d58ae71
|
@ -1,6 +1,6 @@
|
|||
from telebot.async_telebot import AsyncTeleBot
|
||||
from telebot import asyncio_filters
|
||||
bot = AsyncTeleBot('1297441208:AAGiez5xhzai5russPtPKmZjbdjybW4T0U8')
|
||||
bot = AsyncTeleBot('TOKEN')
|
||||
|
||||
# Handler
|
||||
@bot.message_handler(chat_types=['supergroup'], is_chat_admin=True)
|
||||
|
|
Loading…
Reference in New Issue