help please памагити!! python
import vk_api from vk_api import VkUpload from vk_api.longpoll import VkLongPoll, VkEventType from vk_api.utils import get_random_id def main(): print("bot") print("login") login=input() print("password") password=input() vk_session = vk_api.VkApi(login, password) try: vk_session.auth(token_only=True) except vk_api.AuthError as error_msg: print(error_msg) return vk = vk_session.get_api() upload = VkUpload(vk_session) ##Для загрузки изображений longpoll = VkLongPoll(vk_session) for event in longpoll.listen(): if event.type == VkEventType.MESSAGE_NEW and event.to_me and event.text == "porn" : print('id{}: "{}"'.format(event.user_id, event.text), end=' ') spamtext = input() vk.messages.send( user_id=event.user_id, random_id=get_random_id(), message=spamtext )