2018-09-19 12:28:18 +00:00
|
|
|
import ModuleManager, Utils
|
2016-03-29 11:56:58 +00:00
|
|
|
|
2018-09-19 12:28:18 +00:00
|
|
|
class Module(ModuleManager.BaseModule):
|
2018-09-19 11:35:34 +00:00
|
|
|
@Utils.hook("received.command.ping", help="Ping pong!")
|
2016-03-29 11:56:58 +00:00
|
|
|
def pong(self, event):
|
|
|
|
event["stdout"].write("Pong!")
|