sivaosorg / bot4j

bot4j: a robust designed for sending notifications to various messaging platforms such as Telegram, Discord, and Slack.

Home Page:https://github.com/sivaosorg/bot4j

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bot4j

Introduction

bot4j: a robust designed for sending notifications to various messaging platforms such as Telegram, Discord, and Slack.

Features

  • Comprehensive set of utility functions.
  • Written in Java 1.8.
  • Well-documented code for easy understanding.
  • Regular updates and maintenance.

Installation

git clone --depth 1 https://github.com/sivaosorg/bot4j.git

Generation Plugin Java

curl https://gradle-initializr.cleverapps.io/starter.zip -d type=groovy-gradle-plugin  -d testFramework=testng -d projectName=bot4j -o bot4j.zip

Modules

Explain how users can interact with the various modules.

Tidying up

To tidy up the project's Java modules, use the following command:

./gradlew clean

or

make clean

Building SDK

./gradlew jar

or

make jar

Upgrading version

  • file gradle.properties
ng.name=bot4j
ng.version=v1.0.0

Integration

  1. Add dependency into file build.gradle
implementation files('libs/bot4j-v1.0.0.jar') // filename based on ng.name and ng.version
  1. Edit file main Spring Boot application (optional)
@SpringBootApplication
@ComponentScan(basePackages = {"org.bot4j"}) // root name of package bot4j
public class ApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(ApiApplication.class, args);
    }
}

About

bot4j: a robust designed for sending notifications to various messaging platforms such as Telegram, Discord, and Slack.

https://github.com/sivaosorg/bot4j


Languages

Language:Java 98.5%Language:Groovy 0.9%Language:Makefile 0.5%