Greetings all,
I'm sorry to have been away so long! I've been caught up in so much stuff. One of these things, evidently, was Pythabot - possibly my biggest public project yet.
Pythabot, put simply, is a base for IRC bots. It allows you to create a meaningless bot and then add on functionality as you go along through the use of "triggers" - text that the bot detects that can be used to trigger (hence the name) custom functions.
It is, of course, highly customizable: Bot name, nick, password (optional), IRC server, port #, admins (through the use of masks, to prevent imposters), and the owner (also through the use of masks).
Commands are added in a way that is completely separate from the main class file, which allows you to focus on the important parts only. These commands are essentially Python code. Because of this, you can configure your bot to do everything Python can do - shut down your computer, search the Internet, send a tweet, and more.
Commands are also given extensible arguments for which it can utilize to change their outcome. The name of the person saying the command, command arguments, channel it was said in, etc. are all passed to each individual command.
Pythabot even has a permission system. You can assign 3 permission groups to each command: owner, admin, and all. The names are kind of self explanatory.
I plan to add SSL support in the future to support any and all servers, as well as (maybe) color support.
If you are interested or wish to contribute to this project, I urge you to visit its project page on GitHub:
http://github.com/techboy6601/pythabot
Pythabot is completely open source. If you want to see an example of it in action, you can view admin.py in the templates folder on its GitHub page. If you'd like to utilize Pythabot, you can read the wiki - or, for diehard pros - the source code.
Thanks for reading, and happy hacking!
- Tech
I'm sorry to have been away so long! I've been caught up in so much stuff. One of these things, evidently, was Pythabot - possibly my biggest public project yet.
Pythabot, put simply, is a base for IRC bots. It allows you to create a meaningless bot and then add on functionality as you go along through the use of "triggers" - text that the bot detects that can be used to trigger (hence the name) custom functions.
It is, of course, highly customizable: Bot name, nick, password (optional), IRC server, port #, admins (through the use of masks, to prevent imposters), and the owner (also through the use of masks).
Commands are added in a way that is completely separate from the main class file, which allows you to focus on the important parts only. These commands are essentially Python code. Because of this, you can configure your bot to do everything Python can do - shut down your computer, search the Internet, send a tweet, and more.
Commands are also given extensible arguments for which it can utilize to change their outcome. The name of the person saying the command, command arguments, channel it was said in, etc. are all passed to each individual command.
Pythabot even has a permission system. You can assign 3 permission groups to each command: owner, admin, and all. The names are kind of self explanatory.
I plan to add SSL support in the future to support any and all servers, as well as (maybe) color support.
If you are interested or wish to contribute to this project, I urge you to visit its project page on GitHub:
http://github.com/techboy6601/pythabot
Pythabot is completely open source. If you want to see an example of it in action, you can view admin.py in the templates folder on its GitHub page. If you'd like to utilize Pythabot, you can read the wiki - or, for diehard pros - the source code.
Thanks for reading, and happy hacking!
- Tech