Skip to content

a-khakimov/pinger-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Pinger-Bot

This bot need to poll the status of the basic bot, with a view to its prompt recovery if he falls. The main task is to send him messages every 5 minutes and receive a response. If the answer is no, he will write in General chat that the bot fell.

How use it?

The following tools are required for its operation:

  • python
  • vk api
sudo apt install python3 python3-pip
pip3 install vk

Add to .authdata.json the following fields:

{
    "app_id" : "id",             
    "user_login" : "login",     
    "user_password" : "pass",   
    "bot_id" : "id",            
    "discussion_id" : "id"     
}

Run

python3 pinger-bot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages