aboutsummaryrefslogtreecommitdiff
path: root/modules/pong.py
blob: c8ffe6121f5ff95d57680455b634ddbba61ff1b5 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#--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!")