Compare commits

...

3 Commits

Author SHA1 Message Date
augustin64 1db1de9606 oops, bad syntax 2024-05-15 10:03:01 +02:00
augustin64 10d75f9d78 version bump 2024-05-15 09:52:56 +02:00
augustin64 87fb791436 Explore on Bing: solve more challenges 2024-05-15 09:52:39 +02:00
2 changed files with 33 additions and 1 deletions

32
V6.py
View File

@ -388,6 +388,38 @@ def explore_on_bing(activity: str, config: Config):
search_bing(f"traduction {config.wordlist.get_word()} en anglais")
elif "map" in activity:
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:
log_error(f"Explore on bing: {activity} not found.")

View File

@ -1 +1 @@
v6.8.53
v6.8.55