From 9d590446ca6eec367ae2941f2cf9fa372a7ac56c Mon Sep 17 00:00:00 2001 From: meng_xi_pan Date: Wed, 9 Apr 2025 18:17:38 +0800 Subject: [PATCH] ruffffff --- src/plugins/willing/mode_classical.py | 6 ++++++ src/plugins/willing/mode_dynamic.py | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/plugins/willing/mode_classical.py b/src/plugins/willing/mode_classical.py index 2a4c39aa3..df9952b4e 100644 --- a/src/plugins/willing/mode_classical.py +++ b/src/plugins/willing/mode_classical.py @@ -73,5 +73,11 @@ class ClassicalWillingManager(BaseWillingManager): current_willing = self.chat_reply_willing.get(chat_id, 0) if current_willing < 1: self.chat_reply_willing[chat_id] = min(1, current_willing + 0.4) + + async def bombing_buffer_message_handle(self, message_id): + return await super().bombing_buffer_message_handle(message_id) + + async def not_reply_handle(self, message_id): + return await super().not_reply_handle(message_id) \ No newline at end of file diff --git a/src/plugins/willing/mode_dynamic.py b/src/plugins/willing/mode_dynamic.py index a17c276b4..0727307ce 100644 --- a/src/plugins/willing/mode_dynamic.py +++ b/src/plugins/willing/mode_dynamic.py @@ -235,3 +235,9 @@ class DynamicWillingManager(BaseWillingManager): self.chat_reply_willing[chat_id] = min(2.0, current_willing + willing_increase) + async def bombing_buffer_message_handle(self, message_id): + return await super().bombing_buffer_message_handle(message_id) + + async def after_generate_reply_handle(self, message_id): + return await super().after_generate_reply_handle(message_id) +