Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @bot.on.message_chat('отсосать')
- @bot.on.message_chat('Отсосать')
- async def rp(ans: Message):
- if ans.reply_message:
- first = await bot.api.users.get(user_ids=ans.from_id)
- second = await bot.api.users.get(user_ids=ans.reply_message.from_id, name_case='nom')
- first_first = first[0]['first_name']
- first_last = first[0]['last_name']
- second_first = second[0]['first_name']
- second_last = second[0]['last_name']
- await ans(
- f' 😋👄 >> @id{ans.from_id} ({first_first} {first_last}) отсосал у @id{ans.reply_message.from_id} ({second_first} {second_last})')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement