bitbot-3.11-fork/modules/pong.py

9 lines
235 B
Python

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!")