Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bebrowskiy/vk-to-disocrd-bot

A discord bot that forwards a post from a group to VK
https://github.com/bebrowskiy/vk-to-disocrd-bot

discord-bot discordpy disnake python vk-api

Last synced: 5 days ago
JSON representation

A discord bot that forwards a post from a group to VK

Awesome Lists containing this project

README

        

A Discord Bot that forwards the latest post from a VK community page to a Discord channel

image

## Description
The bot fetches the latest post from a VK community feed and publishes it to a Discord channel (supports sending only one image).

### Usage
`/ping` - command to check if the bot is working

`/post` - publishes a post from the VK page in an embed format

### Configuration

The bot is configured in the `config.json` file.

- `token` - [Discord Bot Token](https://discord.com/developers/applications/)
- `vk_token` - [VK Application Token](https://dev.vk.com/ru/admin/apps-list)
- `app_id` - [VK Application ID](https://dev.vk.com/ru/admin/apps-list)
- `group_id` - VK community ID
- `prefix` - bot prefix
- `channel_id` - Discord channel ID where the post will be sent

## Installation and Launch

### Installation

```bash
git clone https://github.com/Bebrowskiy/vk-to-discord-bot.git
```

### Dependencies

```bash
cd vk-to-discord-bot/
```
```bash
pip install -r requirements.txt
```

### Launch

```bash
cd Posting-Bot/
```
```bash
python bot.py
```

My VK Page