bitbot-3.11-fork/modules/echo.py

8 lines
215 B
Python

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