Skip to content

仓库 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

  • python3 -m pip install --upgrade ib3 (recommended)
  • python3 -m pip install . (from source distribution)

License

IB3 is licensed under the GPL-3.0-or-later license.

Credits

Some code and much inspiration taken from 维基media irc bots Adminbot, Jouncebot, and Stashbot.

关于

IRC bot framework using mixins to provide commonly desired functionality

Topics

Resources

Stars

9 stars

关注者

1 watching

复刻s

发布

Used by

贡献者

Languages