mirror of
				https://github.com/suyiiyii/nonebot-bison.git
				synced 2025-11-04 21:44:52 +08:00 
			
		
		
		
	✨ 添加 NewMessage 类型 Platform 的抓取数量日志提示
This commit is contained in:
		
							parent
							
								
									af1609730c
								
							
						
					
					
						commit
						9fef8028c5
					
				@ -315,6 +315,7 @@ class NewMessage(MessageProcess, abstract=True):
 | 
				
			|||||||
                res.append(raw_post)
 | 
					                res.append(raw_post)
 | 
				
			||||||
                store.exists_posts.add(post_id)
 | 
					                store.exists_posts.add(post_id)
 | 
				
			||||||
        self.set_stored_data(target, store)
 | 
					        self.set_stored_data(target, store)
 | 
				
			||||||
 | 
					        logger.trace(f"本次抓取 {len(raw_post_list)} 条,过滤后 {len(filtered_post)} 条,新消息 {len(res)} 条")
 | 
				
			||||||
        return res
 | 
					        return res
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    async def _handle_new_post(
 | 
					    async def _handle_new_post(
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user