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 discord-py discordpy disnake disnake-bot disnake-py post post-bot python vk vk-api vk-posts vk-to-discord
Last synced: about 2 months ago
JSON representation
A discord bot that forwards a post from a group to VK
- Host: GitHub
- URL: https://github.com/bebrowskiy/vk-to-disocrd-bot
- Owner: Bebrowskiy
- License: mit
- Created: 2024-05-31T09:51:59.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T10:28:21.000Z (12 months ago)
- Last Synced: 2025-04-05T21:45:41.625Z (about 2 months ago)
- Topics: discord-bot, discord-py, discordpy, disnake, disnake-bot, disnake-py, post, post-bot, python, vk, vk-api, vk-posts, vk-to-discord
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A Discord Bot that forwards the latest post from a VK community page to a Discord channel
## 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
```