Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ezing/actor-bots

Repository files navigation

Platform β€’ Bootstrap β€’ Bots

-------

Actor Bot Platform

Actor Bot platfrom allows you to implement your own bots for Actor with various modules that help you easily integrate with external services, store bot's state in built-in key-value storage or even implement your Siri-like bot with api.ai integration. It is based on Kotlin language.

Features

| Features --------------------------|------------------------------------------------------------ :rocket: | Fast start with bot development :wrench: | Rich framework for building bots :squirrel: | Built-in Natural Language Processing with api.ai πŸ’» | Easy to host anywhere :octocat: | Community supported

Getting Started

All documentation and tutorials are at docs directory.

Example Bot

import im.actor.bots.framework.*
class EchoBot(scope: MagicForkScope) : MagicBotFork(scope) {
 override fun onMessage(message: MagicBotMessage) {
 when (message) {
 is MagicBotTextMessage -> {
 sendText("Received: ${message.text}")
 }
 }
 }
}
fun main(args: Array<String>) {
 farm("BotFarm") {
 bot(EchoBot::class) {
 name = "echo"
 token = "<YOUR_TOKEN_HERE>"
 }
 }
}

Community

You can reach Actor community in our Actor Open Source group.

License

Licensed under Apache 2.0

About

Actor Messenger Bot Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 89.2%
  • Java 9.1%
  • Shell 1.7%

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /