skip to navigation
skip to content

pyrc 0.6.7

Simple, clean Python IRC library

# pyrc

Slim, concise IRC bot library. Also cute.

## Installation

$ pip install pyrc

## Usage

import pyrc
import pyrc.utils.hooks as hooks

class HiBot(pyrc.Bot):
def sayhi(self, channel, sender):
self.message(channel, "hi!")

if __name__ == '__main__':
bot = HiBot('', channels = ['#your_channel'])

Then on IRC, after the bot logs in:

<davidpeter> HiBot, sayhi
<hibot> hi!


* Modularize library better.
* Make syntax more like Flask.
File Type Py Version Uploaded on Size
pyrc-0.6.7.tar.gz (md5) Source 2014-12-13 4KB