Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tazuya/vkmania

Lightweight framework for creating VK bots.
https://github.com/tazuya/vkmania

async asyncio bot longpoll-api vk vk-api vkmania vkontakte-api

Last synced: 3 months ago
JSON representation

Lightweight framework for creating VK bots.

Awesome Lists containing this project

README

        

# VKMania - Lightweight framework for creating VK bots


downloads

VKMania - A simple and lightweight framework for creating VK bots. At an early stage of development.

## Installation
1) Using PIP:

Newest version:
```sh
pip install vkmania
```

Last stable release:
```sh
pip install vkmania===0.0.3
```
> Python version - python 3+

***
## Basic Usage
```python
from vkmania import Bot, ReplyMessage

bot = Bot(token = '...token...', group_id = 123...)

@bot.command(text = "hi")
async def test(msg:ReplyMessage):
await msg.reply("Oh, hello, hello!")

bot.start_longpoll()
```