Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.83 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.83 KB

kotlin-rocket-lib

Library for creating Rocket.Chat bots in Kotlin

Build Status Quality Gate Status Codefactor Analysis Codacy Badge License: GPL v3

This library is available from Maven Central.

You can also build it locally and publish it to the local Maven repository by running

gradlew publishToMavenLocal

Then, create your own bot project and and a dependency to at.rueckgr.kotlin.rocketbot:kotlin-rocket-lib.

Finally, create a main method in your project, instantiate the class at.rueckgr.kotlin.rocketbot there and invoke start() on that instance.

Refer to main.kt in kotlin-rocket-bot for an example on how to do this.

Important: This bot handles incoming Rocket.Chat messages asynchronously. Therefore, you need to ensure thread-safety in your handlers.

About the build

This product uses the NVD API but is not endorsed or certified by the NVD.