aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/rule/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'hrc/rule/__init__.py')
-rw-r--r--hrc/rule/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/hrc/rule/__init__.py b/hrc/rule/__init__.py
index ecced24..4b3d259 100644
--- a/hrc/rule/__init__.py
+++ b/hrc/rule/__init__.py
@@ -154,6 +154,12 @@ class Rule(ABC, Generic[EventT, StateT, ConfigT]):
It is not recommended to implement event processing directly in this method. Please leave the specific processing of events to the ``handle()`` method.
"""
raise NotImplementedError
+
+ @staticmethod
+ async def enable(): ...
+
+ @staticmethod
+ async def disable(): ...
@staticmethod
def aliases(names, ignore_case=False):