🐛 修复错字

This commit is contained in:
惜月 2022-08-30 03:56:29 -05:00 committed by GitHub
parent a43f589527
commit 6e59821943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,7 +333,7 @@ async def bbs_auto_coin():
for group_id, result_list in coin_result_group.items(): for group_id, result_list in coin_result_group.items():
result_num = len(result_list) result_num = len(result_list)
result_fail = len([result for result in result_list if not result['result']]) result_fail = len([result for result in result_list if not result['result']])
msg = f'本群米游币自动获取共{result_num}个任务,其中成功{result_num-result_fail}个,失败{result_fail}失败的UID列表\n{"\n".join(result["uid"] for result in result_list if not result["result"])}' msg = f'本群米游币自动获取共{result_num}个任务,其中成功{result_num-result_fail}个,失败{result_fail}失败的UID列表/n{"/n".join(result["uid"] for result in result_list if not result["result"])}'
try: try:
await get_bot().send_group_msg(group_id=int(group_id), message=msg) await get_bot().send_group_msg(group_id=int(group_id), message=msg)
except Exception as e: except Exception as e: