bitbot-3.11-fork/modules/echo.py
2019-04-28 13:36:25 +01:00

6 lines
191 B
Python

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