Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. @bot.on.message_chat('отсосать')
  2. @bot.on.message_chat('Отсосать')
  3. async def rp(ans: Message):
  4. if ans.reply_message:
  5. first = await bot.api.users.get(user_ids=ans.from_id)
  6. second = await bot.api.users.get(user_ids=ans.reply_message.from_id, name_case='nom')
  7. first_first = first[0]['first_name']
  8. first_last = first[0]['last_name']
  9. second_first = second[0]['first_name']
  10. second_last = second[0]['last_name']
  11. await ans(
  12. 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