install.
git clone git://github.com/antitech/warmachine.git
cd warmachine
vim settings.py
./warmachine
no bullshit.
The philosophy behind warmachine is to get out of your way and let you code. A developer shouldn't be required to learn an over-sized API just to print hello world on the screen. You know Python, so you know how to write warmachine plugins. All you have to do is write a method that listens for your trigger and go on about your day.
from wmd.actions import Action
class HelloWorldAction(Action):
def recv_msg(self, irc, obj_data):
channel = obj_data.get_username()
args = obj_data.params.split(" ")
if "PRIVMSG" in obj_data.command and ":!helloworld" in args[1].lower():
# ... my awesome code
irc.privmsg(channel, "Hello World!")
return