diff --git a/nemubot/event/__init__.py b/nemubot/event/__init__.py index c45081c..981cf4b 100644 --- a/nemubot/event/__init__.py +++ b/nemubot/event/__init__.py @@ -134,5 +134,7 @@ class ModuleEvent: self.call(d_init) elif isinstance(self.call_data, dict): self.call(d_init, **self.call_data) + elif d_init is None: + self.call(self.call_data) else: self.call(d_init, self.call_data)