From GitHub:
pip install https://github.com/timoniq/vkbottle/archive/master.zip --upgrade
From PyPI (old release):
pip install vkbottle
- Comfortable and fast regex message passing
- Fast API wrapper and requests
- Fast LongPoll Bot Framework
- You can use simple and minimalistic code to reach a big result
- Full VK Event Compatible
- Full Asyncio Support
from vkbottle import Bot, Message
bot = Bot('my-token', 123, debug=True)
@bot.on.message('My name is <name>')
async def wrapper(ans: Message, name):
await ans('Hello, {}'.format(name))
if __name__ == '__main__':
bot.run()
More examples positioned in directory /examples
Pull requests are welcome! I'm glad to see you work for our library
Make issues if it is needed!