commented spoiler branch, now is unnecessary
This commit is contained in:
		
							parent
							
								
									cddbc362a8
								
							
						
					
					
						commit
						ae79359990
					
				| @ -72,12 +72,14 @@ async fn run() { | ||||
|                     Ok(()) | ||||
|                 }), | ||||
|         ) | ||||
|         /* | ||||
|         Now is useless because the group doesn't make any spoiler | ||||
|         .branch( | ||||
|             dptree::filter(move |msg: Message| { | ||||
|                 (is_photo(msg.clone()) && p2.compar_party(&msg.chat.id.to_string())) | ||||
|             }) | ||||
|             .endpoint(|msg: Message, bot: Bot| spoiler_mangas::check_image(msg, bot)), | ||||
|         ) | ||||
|         )*/ | ||||
|         .branch( | ||||
|             dptree::filter(move |msg: Message| filter_files::analyce_name::check_file(msg.clone())) | ||||
|                 .endpoint(|msg: Message, bot: Bot| filter_files::action::take_actions(msg, bot)), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user