Add echo.py
This commit is contained in:
parent
4da60a42a4
commit
fbdd254c69
1 changed files with 6 additions and 0 deletions
6
modules/echo.py
Normal file
6
modules/echo.py
Normal 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"])
|
Loading…
Reference in a new issue