Skip to content

Vlvdik/poncho-remastered

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

New async bot for vk's conversations License

The old project was lost 😢
The source code of this furry friend was left on the old operating system, which I safely demolished

Installation

1) Clone this repository

git clone https://github.com/Vlvdik/poncho-remastered 

2) Create your config file (get API token, parse the necessary links etc)

touch config.py
* Or like this this method is more welcome, guess why 😺
cat config.py

3) Configurate your config file

import sqlite3

# You can use another one, but then maybe you need to change the queries and methods of working with the DB

db = sqlite3.connect('name_db.db')
cursor = db.cursor()
# ...............................|
# Some execute for create tables |
#................................|

group_id = 'Your group ID, integer'
bot_id = 'Your bot ID, integer'

main_token = 'Your API token from VK group'

HEADERS = {'User_agent': 'Your user agent'}

# .....................................
# In the same way we add the rest of the parameters to support the functionality

4) Run your bot by pulling up all dependencies using the makefile

make run

Done!

P.S. Well, if you do not want to bother with setting up your own bot, you can try its functionality by writing in direct or by inviting to the conversation VK

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published