King-Leonidas/README.md

581 B

King-Leonidas

My IRC bot in python

Overview

  • king-leonidas: The main script.
  • config.py: The settings.
  • irc.py: Generic code to connect to and maintain an IRC connection.
  • bot.py: IRC bot code that processes lines.
  • regexmultimatch.py: A useful regex primitive

Usage

Setup

python -m venv venv
source venv/bin/activate

also set up ZNC, this allows you to restart the bot without the connection dropping.

Launch

./king-leonidas

To do

  • join after ident, or SASL
  • automatically restart on crash
  • bot state saved to disk?