Skip to content
Gambot is a modular IRC bot written in Perl.
Perl
Find file
Failed to load latest commit information.
configuration This is almost ready to ship. Aug 17, 2014
documentation Starting to clean up some code and naming conventions. Jun 23, 2013
logs A trick I should have used a long time ago. Mar 6, 2015
modules
parsers/plugin_parser2 She speaks! Apr 30, 2016
persistent A trick I should have used a long time ago. Mar 7, 2015
scripts Fix typo in aperon's commit Apr 30, 2016
.gitignore Ignore the JSON library (still required though) Apr 30, 2016
COPYING first commit Mar 13, 2011
README.md Spam prevention. May 3, 2013
gambot.pl Smarter default values. Apr 30, 2016

README.md

This README was last updated April 29 2012

About Gambot

Gambot is an IRC bot framework. It is written in perl.

Major features

Speed

  • The core is very lean and very fast.
  • Low memory usage.
  • The main loop's rate limit is adjustable. Give your Gambot as much or as little of your CPU time as you want.

Full Asynchronism

  • Messages don't get parsed in order.
  • Can handle an infinite amount of messages simultaneously (given infinite resources).
  • If you have certain commands that take longer (maybe they require network resources) they won't slow down the entire bot.
  • The core script acts as a server, with many clients connecting to it; again these are all handled asynchronously.

On the fly updates

  • The only time you have to reconnect or restart is when updating the core.
  • Changes to message parsers are instantly live on the bot.
  • Changes to child scripts simply require issuing a command to reload those.
  • Changes to configuration files can likewise be reloaded with commands.

Code in any language

  • The core is written in perl, but you can extend it in any programming language you want.
  • As long as it can read STDIN and print to STDOUT, it will work.

Setting up

  • Just run "gambot.pl", edit "configurations/config.txt", and type "reload_config>" into the terminal.
  • From there you'll have to follow the setup instructions of whatever add-ons, message parsers, and extensions you're using.

Coding for Gambot

  • There are files in the documentation folder about all the different aspects of programming for Gambot.
  • The code is also well commented, and several example extensions and parsers are included.

Contact

Bug reports at: https://github.com/grickit/Gambot/issues

Something went wrong with that request. Please try again.