mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
🐛 hook过滤除poke外的notice
This commit is contained in:
@@ -11,8 +11,16 @@ from ._auth_checker import LimitManage, checker
|
||||
|
||||
# # 权限检测
|
||||
@run_preprocessor
|
||||
async def _(matcher: Matcher, bot: Bot, session: EventSession, message: UniMsg):
|
||||
await checker.auth(matcher, bot, session, message)
|
||||
async def _(
|
||||
matcher: Matcher, event: Event, bot: Bot, session: EventSession, message: UniMsg
|
||||
):
|
||||
await checker.auth(
|
||||
matcher,
|
||||
event,
|
||||
bot,
|
||||
session,
|
||||
message,
|
||||
)
|
||||
|
||||
|
||||
# 解除命令block阻塞
|
||||
|
||||
Reference in New Issue
Block a user