update: 关闭typing

This commit is contained in:
taylor
2024-10-12 18:01:14 +08:00
parent 037ddad189
commit eeb641eb4b

View File

@@ -57,7 +57,7 @@ class AiBotPlugin(Plugin):
for u in self.config['allowed_users']:
self.log.debug(f"bot: {sender} -> {u}")
# 如果sender是allowed_user中的一员, 那么就允许发送消息给AI
if re.Match(u, sender):
if re.match(u, sender):
return True
self.log.debug(f"{sender} doesn't match allowed_users")
pass