From 95f098b6d61e38dddd66b5e2de66c1a22498a724 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 3 Oct 2019 16:42:11 +0100 Subject: [PATCH] pass whether a command.regex trigger was an ACTION or not --- modules/commands/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index 0c8c54c5..9b104325 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -320,7 +320,8 @@ class Module(ModuleManager.BaseModule): res = self.command(event["server"], event["channel"], event["target_str"], True, event["user"], command, "", event["tags"], hook, match=match, - message=event["message"], command_prefix="") + message=event["message"], command_prefix="", + action=event["action"]) if res: break