/Bot

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.

Primary LanguageC#GNU Affero General Public License v3.0AGPL-3.0

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.