bitbot-3.11-fork/modules/ping.py
2020-01-21 17:36:05 +00: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!")