Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bebrowskiy/vk-to-disocrd-bot
- Owner: Bebrowskiy
- License: mit
- Created: 2024-05-31T09:51:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-03T10:28:21.000Z (7 months ago)
- Last Synced: 2024-11-07T13:57:04.393Z (about 2 months ago)
- Topics: discord-bot, discordpy, disnake, python, vk-api
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 2
- 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
```