Compare commits
No commits in common. "1db1de9606e3ce33bb2b9f992b3e5784306db179" and "6995bde8a668e8f5da6410a515a86d377bf3028e" have entirely different histories.
1db1de9606
...
6995bde8a6
32
V6.py
32
V6.py
|
@ -388,38 +388,6 @@ 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.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue