Member Avatar
Reusable Code Snippet PyIRC

This bot has some common functions, along with some not so common. I've been using this code to text my wife from work when my phone dies. Requirements: [LIST] [*]Gmail account (for texting) [*]xgoogle (for lang translation) [/LIST] I know it is messy, and the variables are named poorly; sorry. I swear they made since at the time of initial coding :$ Once the bot is in the channel you send it commands denoted with '^'. Example: ^whoareyou Some commands require more than one argument like the texting command; they are seporated by '*' or ':'. Just take a look …

+0 forum 0
Member Avatar

I would like some feed back on my code. It is an IRC bot written in Python 2.6. What I might be doing wrong/inefficient. Better ways of doing something. And anything that will help sharpen my skills. I know I probably should have wrapped it into a class, and the error handling is sloppy. This is my first attempt at a IRC Bot as well. The hardest part about this project was figuring out the IRC protocol and how to send certain commands. The only module that isn't a part of the standard library is xgoogle and can be found …

Member Avatar
+0 forum 2

The End.