zaynetro / vk-messages-bot

Telegram bot to receive messages from vk and reply to them
MIT License
32 stars 8 forks source link

Update to latest versions of libraries #12

Open AIgnatczuk opened 7 years ago

AIgnatczuk commented 7 years ago

This bot cannot resolve any message. Throws KeyError: 'message'. This is caused by an old python-telegram-bot version included which no longer works correctly. Also some changes are needed in code to make it work with the latest version due to many changes made in it so that many libraries are moved, renamed or completely changed.

I succeed running bot only with python-telegram-bot 3.3.0 but i can't receive any messages from group chats because of unexpected photo_100 argument. Temporarily fixed this with **kwargs in vk_chat.py def init The entire bot definitely needs general update to work well

gpchelkin commented 7 years ago

@AIgnatczuk I am working on ressurecting this bot. Please wait.

zaynetro commented 7 years ago

@AIgnatczuk The work is in progress at the moment.

conformist-mw commented 7 years ago

Hi! I've been cloned this repo, exporting TG_BOT_TOKEN and VK_CLIENT_ID, rename example.db.db to exemple.db then run python3 __main__.py and /start in telegram bot — it responds that token url is needed, so I gave it. In log I saw that data comes in and out, in telegram he anwer me with my full name but no messages are come to me. Is there I've missed?