diff --git a/src/plugins/chat/config.py b/src/plugins/chat/config.py index 547c44a82..7aed9eee8 100644 --- a/src/plugins/chat/config.py +++ b/src/plugins/chat/config.py @@ -280,7 +280,7 @@ class BotConfig: ) config.down_frequency_rate = msg_config.get("down_frequency_rate", config.down_frequency_rate) - if config.INNER_VERSION in SpecifierSet(">=0.0.5"): + if config.INNER_VERSION in SpecifierSet(">=0.0.6"): config.ban_msgs_regex = msg_config.get("ban_msgs_regex", config.ban_msgs_regex) def memory(parent: dict): diff --git a/template/bot_config_template.toml b/template/bot_config_template.toml index 1b33b42cf..126fc501d 100644 --- a/template/bot_config_template.toml +++ b/template/bot_config_template.toml @@ -1,5 +1,5 @@ [inner] -version = "0.0.5" +version = "0.0.6" #如果你想要修改配置文件,请在修改后将version的值进行变更 #如果新增项目,请在BotConfig类下新增相应的变量