From 1da8e15b785450d6fc3d35cf56f4dac3519c63bf Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 26 Sep 2019 11:56:37 +0100 Subject: [PATCH] !echo should have a min_args kwarg --- modules/echo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/echo.py b/modules/echo.py index c8f2303d..e2a43089 100644 --- a/modules/echo.py +++ b/modules/echo.py @@ -4,5 +4,6 @@ from src import ModuleManager, utils class Module(ModuleManager.BaseModule): @utils.hook("received.command.echo") + @utils.kwarg("min_args", 1) def echo(self, event): event["stdout"].write(event["args"])