botwrap4j: A robust design for sending notifications to various messaging platforms such as Telegram, Discord, and Slack. Based on configuration YAML. Router sends messages.
- Comprehensive set of utility functions.
- Written in Java 1.8.
- Well-documented code for easy understanding.
- Regular updates and maintenance.
git clone --depth 1 https://github.com/sivaosorg/botwrap4j.git
curl https://gradle-initializr.cleverapps.io/starter.zip -d type=groovy-gradle-plugin -d testFramework=testng -d projectName=botwrap4j -o botwrap4j.zip
Explain how users can interact with the various modules.
To tidy up the project's Java modules, use the following command:
./gradlew clean
or
make clean
./gradlew jar
or
make jar
- file
gradle.yml
#file: noinspection SpellCheckingInspection
ng:
name: botwrap4j
version: v1.0.0
enabled_link: true # enable compression and attachment of the external libraries
jars:
- enabled: false # enable compression and attachment of the external libraries
source: "./../libs/unify4j-v1.0.0.jar" # lib Jar
- enabled: true
source: "./../libs/bot4j-v1.0.0.jar"
- Add dependency into file
build.gradle
implementation files('libs/botwrap4j-v1.0.0.jar') // filename based on ng.name and ng.version
- Edit file
main Spring Boot application
(optional)
@SpringBootApplication
@ComponentScan(basePackages = {"org.botwrap4j"}) // root name of package botwrap4j
public class ApiApplication {
public static void main(String[] args) {
SpringApplication.run(ApiApplication.class, args);
}
}