MOSSOL-BOT-LIB
-
This project is started to support the integrated, cross platform Bot Framework.
-
Currently, we support LINE messenger & Slack
-
Messaging data is managed by CentralDogma, open source from LINE Corp.
-
This project is consists of 2 parts
- Library - basic library to create your own bot
- Bot - bot example by using the library
Library
- Basically, we provide connection logic with LINE Bot server & Slack Server
- There are some default messaging controllers provide below logic :
- SimpleMatcherService - Exact match with receiving message and send mapping reply message
- The message information to be matched and sent is managed by CentralDogma
- RegexMatcherService - Regex match with receiving message and send mapping reply message
- The message information to be matched and sent is managed by CentralDogma
- SimpleMatcherService - Exact match with receiving message and send mapping reply message
- MenuServiceHandler - There are one special service logic to recommend menu
How to use
- You can add your own matcher and message to be sent on CentralDogma
- If you want to create your own function for messaging, you create just your own service bean implement MatcherService interface
How to import
- We provide maven central repository
Maven
<dependency>
<groupId>net.mossol.bot</groupId>
<artifactId>line_bot_mossol-lib</artifactId>
<version>0.0.3.2</version>
</dependency>