aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ChienDice/plugins/iamai_plugin_base/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'ChienDice/plugins/iamai_plugin_base/config.py')
-rw-r--r--ChienDice/plugins/iamai_plugin_base/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ChienDice/plugins/iamai_plugin_base/config.py b/ChienDice/plugins/iamai_plugin_base/config.py
index b410888..c36d03e 100644
--- a/ChienDice/plugins/iamai_plugin_base/config.py
+++ b/ChienDice/plugins/iamai_plugin_base/config.py
@@ -5,7 +5,7 @@ from iamai import ConfigModel
class BasePluginConfig(ConfigModel):
__config_name__ = ""
- handle_all_message: bool = False
+ handle_all_message: bool = True
"""是否处理所有类型的消息,此配置为 True 时会覆盖 handle_friend_message 和 handle_group_message。"""
handle_friend_message: bool = True
"""是否处理好友消息。"""
@@ -22,7 +22,7 @@ class RegexPluginConfig(BasePluginConfig):
class CommandPluginConfig(RegexPluginConfig):
- command_prefix: Set[str] = {".", "。"}
+ command_prefix: Set[str] = {".", "。","!"}
"""命令前缀。"""
command: Set[str] = {}
"""命令文本。"""