Skip to content

jijeshmohan/pab

Repository files navigation

Pab

Pab is a personal assistant chat bot. You can create your own bot using pab.

How to create your own bot

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

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)

Example

Please check the example directory

About

Chat bot in golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages