Pab is a personal assistant chat bot. You can create your own bot using pab.
You should understand following concepts for writing your own bot.
- Adapter : Specifies the chat service bot is supporting.
- Handler : Handlers are the actions bot supports.
Handlers are the way bot is responding to your commands/texts.
There are three different way bot can listen to the messages
-
Listen : Listen to a chat room for any message
-
Direct : When a user address bot with its name
eg: @pab: what is the current weather in NY?
-
Private : When a user send a private message to the bot ( in some chat service this is called direct message)
Please check the example directory