mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-10-31 14:23:53 +01:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			6995bde8a6
			...
			1db1de9606
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 1db1de9606 | ||
|  | 10d75f9d78 | ||
|  | 87fb791436 | 
							
								
								
									
										32
									
								
								V6.py
									
									
									
									
									
								
							
							
						
						
									
										32
									
								
								V6.py
									
									
									
									
									
								
							| @@ -388,6 +388,38 @@ def explore_on_bing(activity: str, config: Config): | |||||||
|         search_bing(f"traduction {config.wordlist.get_word()} en anglais") |         search_bing(f"traduction {config.wordlist.get_word()} en anglais") | ||||||
|     elif "map" in activity: |     elif "map" in activity: | ||||||
|         search_bing(f"{['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]} carte") |         search_bing(f"{['Paris', 'Nice', 'Marseille', 'Bordeaux', 'Lyon'][randint(0, 4)]} carte") | ||||||
|  |     elif "restaurant" in activity: | ||||||
|  |         search_bing(random.choice([ | ||||||
|  |             "restaurant à proximité", | ||||||
|  |             "restaurant pas loin", | ||||||
|  |             "manger dans le coin" | ||||||
|  |         ])) | ||||||
|  |     elif "recipe" in activity: | ||||||
|  |         search_bing("recette de "+random.choice([ | ||||||
|  |             "cake aux olives", | ||||||
|  |             "tarte tatin", | ||||||
|  |             "Kouign Amann", | ||||||
|  |             "poulet au Curry", | ||||||
|  |             "lasagnes aux épinards et ricotta", | ||||||
|  |             "Boeuf Bourguignon", | ||||||
|  |             "dessert", | ||||||
|  |             "gateau au chocolat", | ||||||
|  |             "crêpe sucrée" | ||||||
|  |         ])) # Merci llama pour les idées | ||||||
|  |     elif "currency" in activity: | ||||||
|  |         currencies = [ | ||||||
|  |             "euros", | ||||||
|  |             "dollars canadiens", | ||||||
|  |             "dollars", | ||||||
|  |             "livres", | ||||||
|  |             "francs suisses", | ||||||
|  |             "roubles", | ||||||
|  |             "pesos", | ||||||
|  |             "bitcoin", | ||||||
|  |             "anciens francs" | ||||||
|  |         ] | ||||||
|  |         chosen = random.sample(currencies, k=2) | ||||||
|  |         search_bing(f"convertir {random.randint(2, 120)} {chosen[0]} en {chosen[1]}") | ||||||
|     else: |     else: | ||||||
|         log_error(f"Explore on bing: {activity} not found.") |         log_error(f"Explore on bing: {activity} not found.") | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user