Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tazuya/vkmania
- Owner: Tazuya
- License: mit
- Created: 2020-10-28T18:17:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-01T14:40:49.000Z (7 months ago)
- Last Synced: 2024-10-09T18:22:23.571Z (3 months ago)
- Topics: async, asyncio, bot, longpoll-api, vk, vk-api, vkmania, vkontakte-api
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VKMania - Lightweight framework for creating VK bots
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, ReplyMessagebot = Bot(token = '...token...', group_id = 123...)
@bot.command(text = "hi")
async def test(msg:ReplyMessage):
await msg.reply("Oh, hello, hello!")bot.start_longpoll()
```