from Module import Module, Command
module = Module( [
Command('test1', exec_test1, 'this is test1', false),
Command('test2', exec_test2, 'this is test2', false),
] )
def exec_test1(args, msg, event):
return "I'm in test1"
def exec_test2(args, msg, event):
return "I'm in test2"