Skip to content

A VK bot for programmers by programmers. Supports karma. Stores list of programming languages, and a link to GitHub for each programmer in the chat. This repository also contains a GitHub bot prototype.

License

Notifications You must be signed in to change notification settings

Disinterpreter/Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot

Prerequisites

Install

git clone https://github.com/linksplatform/Bot.git
cd Bot
pip3 install -r requirements.txt

Configure

  1. Enable VK Long Poll API with 5.103 version for your bot's group. Screenshot_20210630_110401
  2. Set bot group id in config.py.
  3. Add tokens into python/tokens.py file
    • BotToken (an access token of your VK group). This token should have two access settings community management and community messages. This token is required. Screenshot_20210630_110724
    • UserToken (an access token to your VK user via KateMobile). This token is used to delete messages in the chats where your user is administrator. This token is optional.

Run

cd python
python3 __main__.py

Do not upload tokens.py with your real tokens please

To tell git to ignore this file:

git update-index --assume-unchanged python/tokens.py

See the bot in action

To see the bot in action you can join the chat with this bot.

About

A VK bot for programmers by programmers. Supports karma. Stores list of programming languages, and a link to GitHub for each programmer in the chat. This repository also contains a GitHub bot prototype.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 61.4%
  • Python 38.6%