bitbot-3.11-fork/modules/pong.py
2019-06-18 17:33:42 +01:00

11 lines
258 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("Pong!")