Skip to content

Bot written in Go. Supports multiple transports and is easily extensible.

License

Notifications You must be signed in to change notification settings

pawelszydlo/papa-bot

Repository files navigation

papa-bot

Bot written in Go. Comprehensive in design, easily extensible. Initially designed for IRC, now supports multiple transports.

Full documentation @ GoDoc.org

⚠️ IRC transport is not being maintained anymore.

How good is it?

Bot is actively developed and constantly used by me and my friends, so there's that.

Features

  • Multiple transports support.
  • Easy to write extensions (just take a look at the example)
  • Event based operation.
  • Configuration through a TOML file and persistent run time variables.
  • All text messages are in TOML files, for easy editing and l18n.
  • Flood protection.
  • Abuse protection.
  • Ignore list.
  • Stores all the links posted on the channel.
  • Allows full text search through the links.
  • Logs all channel activity.
  • User accounts and permissions handling.

Supported transports

Bundled extensions

  • Custom reminders.
  • Custom counters/countdowns.
  • Link title and description.
  • Link duplicates announce.
  • Link info from Reddit and pinned Reddit live announcements.
  • GitHub repository information.
  • BTC price check and rapid change announce (Bitstamp).
  • Air quality data search (acqicn.org).
  • Movie information (OMDb).
  • Wikipedia article lookup.
  • Wolfram Alpha lookup.
  • YouTube video info.
  • Link to thread version of Twitter status.
  • Last seen speaking check.
TODO
  • Figure out the bot-transports-events package entanglement so that transport can be passed in event.
  • Unify extension panic and error handling.
  • IRC split handling.
  • Alt nicks handling
  • Cross-transport people identification.
  • Write some tests!

About

Bot written in Go. Supports multiple transports and is easily extensible.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages