bitbot-3.11-fork/modules/echo.py

9 lines
215 B
Python
Raw Normal View History

#--depends-on commands
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"])