ruffffff
This commit is contained in:
@@ -73,5 +73,11 @@ class ClassicalWillingManager(BaseWillingManager):
|
|||||||
current_willing = self.chat_reply_willing.get(chat_id, 0)
|
current_willing = self.chat_reply_willing.get(chat_id, 0)
|
||||||
if current_willing < 1:
|
if current_willing < 1:
|
||||||
self.chat_reply_willing[chat_id] = min(1, current_willing + 0.4)
|
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)
|
||||||
|
|
||||||
|
|
||||||
@@ -235,3 +235,9 @@ class DynamicWillingManager(BaseWillingManager):
|
|||||||
|
|
||||||
self.chat_reply_willing[chat_id] = min(2.0, current_willing + willing_increase)
|
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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user