pyrcSimple, clean Python IRC library | |
Download |
pyrc Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- David Peter
- Publisher web site:
- http://github.com/sarenji/
pyrc Tags
pyrc Description
pyrc is a slim, concise IRC client. Also cute.Installationpip install pyrcUsage```pythonimport pyrcimport pyrc.utils.hooks as hooksclass HiBot(pyrc.Bot): @hooks.command def sayhi(self, channel): self.message(channel, "hi!")if __name__ == '__main__': bot = HiBot('irc.freenode.net', channels = ) bot.connect()```Then on IRC, after the bot logs in:```< davidpeter > HiBot, sayhi< HiBot > hi!```Product's homepage
pyrc Related Software