- JDK 8
This bot simply repeats what you send it. It can be a text message, sticker, photo, video, audio or document.
The bot is written without using libraries for VK API.
git clone https://github.com/stormrvge/echo_vkbot
- Open
src/main/resources folder
- Configure vk_api.properties file. (You must take them on the VK website)
Run cmd/terminal, then go to root application folder and run
mvnw clean package
- Go to
target
folder and copyecho_vkBot.jar
file to any empty folder. This is needed for saving log file.
If you don't move the jar file and rebuild application your log file will be removed.- Run
java -jar echo_vkbot.jar
from root application folder.