2018-10-03 12:22:37 +00:00
|
|
|
from src import ModuleManager, utils
|
2016-03-29 11:56:58 +00:00
|
|
|
|
2018-09-19 12:28:18 +00:00
|
|
|
class Module(ModuleManager.BaseModule):
|
2018-10-03 12:22:37 +00:00
|
|
|
@utils.hook("received.command.ping")
|
2016-03-29 11:56:58 +00:00
|
|
|
def pong(self, event):
|
2018-09-30 16:29:09 +00:00
|
|
|
"""
|
|
|
|
:help: Ping pong!
|
|
|
|
"""
|
2016-03-29 11:56:58 +00:00
|
|
|
event["stdout"].write("Pong!")
|