Skip to main content

Yet another IRC bot library

Project description

Flattr this repo


Yet another Python IRC bot library…


  • asynchronous
  • multi-server
  • easy to use plugin system
  • rights management for user-defined commands
  • automated help messages generation for custom plugins
  • colored logging
  • colored IRC messages
  • command line parser to set your custom bot settings from the console


  • gevent
  • chardet


  • From GitHub:

    git clone
    cd fatbotslim
    python install
  • From PyPI:

    pip install fatbotslim


The documentation is hosted on readthedocs and is available in the following formats:


This very simple bot answers Hello <username>! when someone says !hello in a public message.

Using the fatbotslim.cli helpers also gives your bot an integrated command line arguments parser.

For more detailed informations about writing custom handlers and more complex bots, please refer to the documentation.

from fatbotslim.cli import make_bot, main
from fatbotslim.handlers import CommandHandler, EVT_PUBLIC

class HelloCommand(CommandHandler):
    triggers = {
        'hello': [EVT_PUBLIC],

    def hello(self, msg):
        self.irc.msg(msg.dst, "Hello {0}!".format(

bot = make_bot()

Just try it!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for FatBotSlim, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size FatBotSlim-0.2.tar.gz (14.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page