11 lines
287 B
Python
11 lines
287 B
Python
#--depends-on commands
|
|
|
|
from src import ModuleManager, utils
|
|
|
|
class Module(ModuleManager.BaseModule):
|
|
@utils.hook("received.command.ping")
|
|
def pong(self, event):
|
|
"""
|
|
:help: Ping pong
|
|
"""
|
|
event["stdout"].write("%s: pong!" % event["user"].nickname)
|