diff options
| author | 2023-09-30 02:33:28 +0800 | |
|---|---|---|
| committer | 2023-09-30 02:33:28 +0800 | |
| commit | 6a63a90d8e5831e97b02cec4b67a6fb72285a2bb (patch) | |
| tree | b12f1aa4c81625714a0ac6be87c313f8fddf4871 /HydroRollCore/rule.py | |
| parent | 7eb7fc43ce1d95d86f5c5b9963213dfb43474a8b (diff) | |
| download | infini-6a63a90d8e5831e97b02cec4b67a6fb72285a2bb.tar.gz infini-6a63a90d8e5831e97b02cec4b67a6fb72285a2bb.zip | |
feat(terms): add DiceDefault and PlayerCard
Diffstat (limited to 'HydroRollCore/rule.py')
| -rw-r--r-- | HydroRollCore/rule.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/HydroRollCore/rule.py b/HydroRollCore/rule.py index 8e10b18b..54eaf48e 100644 --- a/HydroRollCore/rule.py +++ b/HydroRollCore/rule.py @@ -8,7 +8,7 @@ from HydroRoll.typing import T_Event, T_Config if TYPE_CHECKING: from iamai.bot import Bot - + class RuleLoadType(Enum): """插件加载类型。""" @@ -67,4 +67,4 @@ class Rule(ABC, Generic[T_Event, T_Config]): config_class: ConfigModel = getattr(self, "Rule", None) if is_config_class(config_class): return getattr(self.config.rule, config_class.__config_name__, None) - return None
\ No newline at end of file + return None |
