| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -730,23 +730,23 @@ class CWindow: | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			class Broadcast: | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    chat:   PytchatCore | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    code:   str | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    def __init__ ( | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            self, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            broadcast_code, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    ): | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        self.chat = pytchat.create (broadcast_code) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        self.code = broadcast_code | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    def fetch_chat ( | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            self, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    ) -> Chat | None: | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if not self.chat.is_alive (): | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        chat_obj = pytchat.create (self.code) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if not chat_obj.is_alive (): | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            return None | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        chats = self.chat.get ().items | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        chats = chat_obj.get ().items | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        if not chats: | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            return None | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        print (f"{ datetime.now () }: { chats }") | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        return random.choice (chats) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |