bitbot-3.11-fork/modules/pong.py
2018-09-24 15:13:27 +01:00

6 lines
204 B
Python

from src import ModuleManager, Utils
class Module(ModuleManager.BaseModule):
@Utils.hook("received.command.ping", help="Ping pong!")
def pong(self, event):
event["stdout"].write("Pong!")