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
--------------------------|------------------------------------------------------------
: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
| Community supported
All documentation and tutorials are at docs directory.
importim.actor.bots.framework.*classEchoBot(scope:MagicForkScope) : MagicBotFork(scope) {
overridefunonMessage(message:MagicBotMessage) {
when (message) {
isMagicBotTextMessage-> {
sendText("Received: ${message.text}")
}
}
}
}
funmain(args:Array<String>) {
farm("BotFarm") {
bot(EchoBot::class) {
name ="echo"
token ="<YOUR_TOKEN_HERE>"
}
}
}You can reach Actor community in our Actor Open Source group.
Licensed under Apache 2.0
