Skip to content

Instantly share code, notes, and snippets.

@pjazdzewski1990
Created July 16, 2015 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjazdzewski1990/6c888bae03bcbba5eb0a to your computer and use it in GitHub Desktop.
Save pjazdzewski1990/6c888bae03bcbba5eb0a to your computer and use it in GitHub Desktop.
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