优化菜园消息推送逻辑

This commit is contained in:
2025-11-15 21:15:56 +08:00
parent 31119db911
commit 54c133fa4c
2 changed files with 9 additions and 4 deletions

View File

@@ -2,9 +2,7 @@
from __future__ import annotations
from typing import Optional, Sequence
from PWF.Convention.Runtime.Architecture import Architecture
from PWF.Convention.Runtime.Architecture import *
from PWF.CoreModules.database import get_db
from Plugins.WPSAPI import GuideEntry
@@ -15,6 +13,10 @@ from .garden_plugin_base import WPSGardenBase
class WPSGardenSteal(WPSGardenBase):
@override
def get_webhook_url(self, message: str, chat_id: int, user_id: int) -> str:
return self.get_main_webhook_url()
def get_guide_subtitle(self) -> str:
return "偷取其他用户成熟果实的互动指令"