mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 08:39:59 +08:00
gold_readbag and russian
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ async def _(matcher: Matcher, bot: Bot, event: MessageEvent, state: T_State):
|
||||
# 为什么AI会自己和自己聊天
|
||||
@run_preprocessor
|
||||
async def _(matcher: Matcher, bot: Bot, event: PrivateMessageEvent, state: T_State):
|
||||
if matcher.type == 'message' and event.user_id == int(bot.self_id):
|
||||
if event.user_id == int(bot.self_id):
|
||||
raise IgnoredException('为什么AI会自己和自己聊天')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user