You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ketudb b1984166bd
Restructure bot to be it's own thing.
4 months ago
cpm @ fb907c2caf Improve version a little bit and add to version module 3 years ago
lib Restructure bot to be it's own thing. 4 months ago
.gitignore Change some of the defaults borkbot -> tetrabot 11 months ago
.gitmodules Add install script 4 years ago
README.md Update README intro text 11 months ago
bot.pl Restructure bot to be it's own thing. 4 months ago
cpanfile Restructure bot to be it's own thing. 4 months ago
install.sh perl-Digest-MD5 is a dependency on CentOS systems, make sure it's installed on RPM-bases 11 months ago
tetrabot.psql Make database seed for SQLite, rename psql one 11 months ago
tetrabot.sqlite Make database seed for SQLite, rename psql one 11 months ago
tetrabot.yaml.example Add nickserv email example to sample config 11 months ago

README.md

This is tetrabot, a marginally more flexible model of borkbot by hobbs.

Improvement include:

  • The old and unmaintained Net::IRC is replaced by Mojo::IRC.
  • Fully async bot operation using Mojo::IOLoop, Mojo::UserAgent, and Mojo::Pg.
  • YAML configuration.
  • Easier plugin authoring, with more descriptive IRC events and a simpler means of handling them.
  • Generally tidier code.

Instructions for running the bot:

  1. Install PostgreSQL server, if you haven’t already, and create a user and database for borkbot.
  2. Load the schema contained in borkbot.sql.
  3. On your IRC network of choice, create a “control channel” whose members will have privileged access to the bot, and password-protect it.
  4. Copy borkbot.yaml.example to borkbot.yaml and edit it, setting the IRC server, bot nickname, and passwords appropriately. Add any additional modules you want loaded to the “modules” section.
  5. Run perl bot.pl.