blob: 990795f14c6742f3915f0d4f4f664f6a17d89fdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from aiogram import types as t
from shared.instances import dp
from utils import filters as f
@dp.my_chat_member_handler(f.user.add_member)
async def пососи(upd: t.ChatMemberUpdated):
if upd.chat.id not in (-1001444484622, -1001197098429):
await upd.bot.send_message(
upd.chat.id, "https://www.youtube.com/watch?v=xdDhmagsXrc"
)
await upd.chat.leave()
|