LuoZijun / pyirc

Python IRC Simple Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python IRC

Date: 2014-06-01

Contents

使用 Python 编写的一个 irc 库,可以用来对某些 irc 频道做日志(记录)。

直接命令行使用:

git clone git@github.com:LuoZijun/pyirc.git
cd pyirc
python irc.py

在你的代码当中引用:

import irc

host = "irc.freenode.net"
port = 6667
irc  = Irc(host=host, port=port, nickname="pyirc", username="python", realname="pythonbot")
irc.connect()
irc.loop()

About

Python IRC Simple Library

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%