-
Notifications
You must be signed in to change notification settings - Fork 0
AutoBot FAQ
AutoBot is a programmable chat bot that comes with pre-built support for HipChat and Skype. It also provides a pluggable architecture so you can add new chat clients with minimal fuss.
The default bot implementation allows you to add commands by simply writing PowerShell scripts and dropping them into a "scripts" folder. AutoBot will detect new or changed scripts and they'll automatically become chat commands. And if you don't like how this works you can easily create your own message handler that behaves exactly how you want it to and plug it right in. (See CalculatorBot for an alternative message handler that does math for you right in your chat window).
Clone the AutoBot project here on GitHub, edit the app.config file to tell it which chat client and message handler you want to use, then build, run and start chatting with your bot.
See "Configuring AutoBot" for more about how to do this.
AutoBot is componentised so it can support any chat program that has a programmable interface. HipChat uses the Jabber protocol, and Skype offers the Skype4COM library, but as long as you can automate the client from a .NET language somehow then you'll be able to add support for it.
See [Adding support for a new chat program](Adding support for a new chat program) for more about how to do this.
AutoBot is componentised so it can support any behaviour that can be programmed in .NET languages. If you don't like the way the default PowerShell message handler works you can modify it or write your own message handler from scratch. You don't need to worry about integrating with chat programs - that's all dealt with for you by AutoBot. All you need to do is write a method that takes chat messages sent to your handler and gives AutoBot some text to send back to the user. What happens in-between is entirely up you you!
See [Adding a new message handler](Adding a new message handler) for more about how to do this.