---
title: "Python IRC Bot"
description: "It started with the intention of making a simple IRC l33t translate bot after the l33t translation API. l33ty is an IRC bot."
url: "https://h3manth.com/scribe/python-irc-bot/"
canonical_url: "https://h3manth.com/scribe/python-irc-bot/"
markdown_url: "https://h3manth.com/scribe/blog/python-irc-bot.md"
publishDate: "2010-10-31T00:00:00.000Z"
author: "Hemanth HM"
category: "python"
tags: ["python","ubuntu","git","web"]
word_count: 152
reading_time_minutes: 1
x_markdown_tokens: 346
content_signal: "ai-train=yes, search=yes, ai-input=yes"
---

# Python IRC Bot

> It started with the intention of making a simple IRC l33t translate bot after the l33t translation API. l33ty is an IRC bot.

It started with the intention of making a simple IRC l33t translate bot after the l33t [translation API.](http://h3manth.com/content/l33t-translator)

l33ty is an IRC bot build with python with the help of twisted modules and uses "Reactor pattern". l33ty can do few many things like :

  * l33t translation
  * Google I'm feeling lucky search
  * Karma system
  * XCKD random images
  * Flipping a coin, throwing the dice

_Preparing your system_ List of dependencies :

  1. Python 2.6.5
  2. Twisted python 10.0.0
  3. BeautifulSoup
  4. fortune from bsd games

Get the dependencies if on a Debian based system by typing the below, or else get the source and compile :
    
    
    sudo apt-get install python-twisted python-beautifulsoup 
    

After the above, you may run the code by :
    
    
    git clone git://github.com/hemanth/l33ty.git
    cd l33ty
    # edit the bot nick, host and the channel as per need
    python l33ty.py 
    

Do fork the code and improve it from [l33ty.git](http://github.com/hemanth/l33ty)
