✨ 添加自动同意群组请求 (#1848)

* ✨ 添加自动同意群组请求

* ➕ Add nonebot-plugin-waiter

---------

Co-authored-by: BalconyJH <balconyjh@gmail.com>
This commit is contained in:
HibiKier
2025-02-12 23:32:46 +08:00
committed by GitHub
co-authored by BalconyJH
parent 41613c09a9
commit aef2597b46
11 changed files with 695 additions and 617 deletions
+5 -1
View File
@@ -48,7 +48,11 @@ async def _(matcher: Matcher, message: UniMsg, session: EventSession):
return
if text := message.extract_plain_text().strip():
if plugin := await PluginInfo.get_or_none(
name=text, load_status=True, plugin_type=PluginType.NORMAL
name=text,
load_status=True,
plugin_type=PluginType.NORMAL,
block_type__isnull=True,
status=True,
):
image = None
if _path.exists():