Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class ExampleBotsBundle() extends BotModules {
override def registerModules(context: ActorContext, websocketClient: ActorRef) = {
context.actorOf(Props(classOf[CommandsRecognizerBot], eventBus), "commandProcessor")
context.actorOf(Props(classOf[HelpBot], eventBus), "helpBot")
context.actorOf(Props(classOf[CalculatorBot], eventBus), "CalculatorBot")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.