Skip to content

IRC bot framework using mixins to provide commonly desired functionality

License

Notifications You must be signed in to change notification settings

pycontribs/python-ib3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IRC Bot Behavior Bundle (IB3)

IRC bot framework using mixins to provide commonly desired functionality.

Overview

The irc python library's irc.bot.SingleServerIRCBot provides a nice base for making a new bot, but there are many common tasks needed by a robust bot that it does not handle out of the box. IB3 collects some commonly desired behaviors for a bot as mixin classes that can be used via multiple inheritance:

from ib3 import Bot
from ib3.auth import SASL
from ib3.connection import SSL
from ib3.mixins import DisconnectOnError

class TestBot(SASL, SSL, DisconnectOnError, Bot):
    pass

Installation

  • pip install ib3 (recommended)
  • python setup.py install (from source distribution)

License

IB3 is licensed under the GNU GPLv3+ license.

Credits

Some code and much inspiration taken from Wikimedia irc bots Adminbot, Jouncebot, and Stashbot.

About

IRC bot framework using mixins to provide commonly desired functionality

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • Python 100.0%