Add echo.py

This commit is contained in:
jesopo 2019-04-28 13:36:25 +01:00
parent 4da60a42a4
commit fbdd254c69

6
modules/echo.py Normal file
View file

@ -0,0 +1,6 @@
from src import ModuleManager, utils
class Module(ModuleManager.BaseModule):
@utils.hook("received.command.echo")
def echo(self, event):
event["stdout"].write(event["args"])