remove ab auto revoke
This commit is contained in:
parent
cbbfa608d9
commit
a991e0a05a
2 changed files with 2 additions and 4 deletions
|
@ -32,8 +32,6 @@ async def ab_loader(kwargs: dict):
|
||||||
id = kwargs[Friend].id
|
id = kwargs[Friend].id
|
||||||
msg = await ab(table, id)
|
msg = await ab(table, id)
|
||||||
send = await sendMessage(kwargs, msg)
|
send = await sendMessage(kwargs, msg)
|
||||||
await asyncio.sleep(60)
|
|
||||||
await revokeMessage(send)
|
|
||||||
|
|
||||||
|
|
||||||
async def newbie_loader(kwargs: dict):
|
async def newbie_loader(kwargs: dict):
|
||||||
|
|
|
@ -26,8 +26,8 @@ async def ab(table, id):
|
||||||
'filter'] + '\n处理结果:' + x['result'])
|
'filter'] + '\n处理结果:' + x['result'])
|
||||||
y = await check('\n'.join(d))
|
y = await check('\n'.join(d))
|
||||||
if y.find('<吃掉了>') != -1 or y.find('<全部吃掉了>') != -1:
|
if y.find('<吃掉了>') != -1 or y.find('<全部吃掉了>') != -1:
|
||||||
return f'{pageurl}\n{y}\n...仅显示前5条内容\n检测到外来信息介入,请前往滥用日志查看所有消息。Special:滥用日志\n[一分钟后撤回本消息]'
|
return f'{pageurl}\n{y}\n...仅显示前5条内容\n检测到外来信息介入,请前往滥用日志查看所有消息。'
|
||||||
else:
|
else:
|
||||||
return f'{pageurl}\n{y}\n...仅显示前5条内容\n[一分钟后撤回本消息]'
|
return f'{pageurl}\n{y}\n...仅显示前5条内容'
|
||||||
else:
|
else:
|
||||||
return '未设定起始Wiki。'
|
return '未设定起始Wiki。'
|
||||||
|
|
Reference in a new issue