Archived
1
0
Fork 0

Update legacy_subbot.py

This commit is contained in:
wyapx 2021-02-19 19:26:55 +08:00 committed by GitHub
parent 5365b1d629
commit 5236d67edc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ async def newbie(app):
if xz['title'] in qq:
pass
else:
s = await check([UTC8(xz['timestamp'], 'onlytime') + '新增新人:' + xz['title']])
s = await check(UTC8(xz['timestamp'], 'onlytime') + '新增新人:' + xz['title'])
if s.find("<吃掉了>") != -1 or s.find("<全部吃掉了>") != -1:
await app.sendGroupMessage(731397727, MessageChain.create(
[Plain(s + '\n检测到外来信息介入请前往日志查看所有消息。Special:日志?type=newusers')]).asSendable())