bitbot-3.11-fork/modules/echo.py

7 lines
191 B
Python
Raw Normal View History

2019-04-28 12:36:25 +00:00
from src import ModuleManager, utils
class Module(ModuleManager.BaseModule):
@utils.hook("received.command.echo")
def echo(self, event):
event["stdout"].write(event["args"])