Вк бот на Python выдает ошибку, как исправить?
for event in longpoll.listen():
    if event.type == VkBotEventType.MESSAGE_NEW and event.object.text.lower() == 'привет':
        peerID = event.object.peer_id
        send('Привет')
for event in longpoll.listen():
if event.type == VkBotEventType.MESSAGE_NEW and event.object['message']["text"].lower() == 'привет':
peerID = event.object['peer_id']
send('Привет')