Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @bot.message_handler()
- def send_message(message: types.Message):
- chat_id = message.chat.id
- if message.text == '/стикеры':
- bot.send_message(chat_id, 'Введите ваш VK id')
- l = message.text
- bot.send_message(message.chat.id, f'Ваш VK ID: {l}, верно? (да, нет)')
- a = message.text
- if a == 'да':
- bot.send_message(chat_id, 'Отлично, стикеры скоро прибудут на ваш аккаунт')
- elif a == 'нет':
- bot.send_message(message.chat.id, 'Хорошо, отменяю.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement