mirror of
				https://github.com/cdryzun/tg_bot_collections.git
				synced 2025-11-04 16:56:43 +08:00 
			
		
		
		
	Update useful.py
This commit is contained in:
		@ -832,9 +832,7 @@ def append_message_to_ph_front(m: str, path: str) -> bool:
 | 
				
			|||||||
        else:
 | 
					        else:
 | 
				
			||||||
            new_content = content
 | 
					            new_content = content
 | 
				
			||||||
        time.sleep(1)
 | 
					        time.sleep(1)
 | 
				
			||||||
        ph.edit_page(
 | 
					        ph.edit_page(ph_path, title="Answer it", content=new_content)
 | 
				
			||||||
            ph_path, title="Answer it", content=new_content
 | 
					 | 
				
			||||||
        )
 | 
					 | 
				
			||||||
        return True
 | 
					        return True
 | 
				
			||||||
    except Exception as e:
 | 
					    except Exception as e:
 | 
				
			||||||
        print(f"\n---\nappend_message_to_ph_front Error:\n{e}\n---\n")
 | 
					        print(f"\n---\nappend_message_to_ph_front Error:\n{e}\n---\n")
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user