From b8bd45d42956e99d5740c8877d843020977adb75 Mon Sep 17 00:00:00 2001 From: tcmofashi Date: Mon, 3 Mar 2025 09:48:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=BAsendername=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=BE=A4=E6=98=B5=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- config/bot_config.toml | 9 ++++----- src/plugins/chat/willing_manager.py | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.env b/.env index 06c26cdf3..8e50bc5d9 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # 您不应该修改默认值,这个文件被仓库索引,请修改.env.prod -ENVIRONMENT=prod +ENVIRONMENT=dev # HOST=127.0.0.1 # PORT=8080 diff --git a/config/bot_config.toml b/config/bot_config.toml index 83526945c..83e0769a5 100644 --- a/config/bot_config.toml +++ b/config/bot_config.toml @@ -1,11 +1,11 @@ [bot] -qq = 123 -nickname = "麦麦" +qq = 3488737411 +nickname = "小千" [message] min_text_length = 2 max_context_size = 15 -emoji_chance = 0.2 +emoji_chance = 0.0 [emoji] check_interval = 120 @@ -29,8 +29,7 @@ enable_advance_output = true [groups] talk_allowed = [ - 123, - 123, + 583449463 ] talk_frequency_down = [] ban_user_id = [] diff --git a/src/plugins/chat/willing_manager.py b/src/plugins/chat/willing_manager.py index d9742d829..950d127c3 100644 --- a/src/plugins/chat/willing_manager.py +++ b/src/plugins/chat/willing_manager.py @@ -61,7 +61,7 @@ class WillingManager: if is_mentioned_bot and user_id == int(964959351): reply_probability = 1 - return reply_probability+0.5 + return reply_probability def change_reply_willing_sent(self, group_id: int): """开始思考后降低群组的回复意愿"""