Adding new "explore on Bing" cards
This commit is contained in:
parent
adf91ac8f0
commit
56c858fa90
24
V6.py
24
V6.py
|
@ -461,7 +461,29 @@ def explore_on_bing(activity: str, config: Config):
|
|||
elif "financemarket" in activity:
|
||||
search_bing(
|
||||
f"cours action {['AIR LIQUIDE', 'Airbus', 'BNP Paribas', 'Michelin', 'Stellantis', 'Vinci'][randint(0, 5)]}")
|
||||
|
||||
elif "sports" in activity:
|
||||
equipes = random.sample([
|
||||
"Toulon", "toulouse",
|
||||
"stade Rochelais", "castres",
|
||||
"clermont", "perpignan",
|
||||
"aviron bayonnais", "vannes"
|
||||
], k=2)
|
||||
search_bing(f"{['score', 'résultats'][randint(0, 1)]} rugby {equipes[0]} {equipes[1]}")
|
||||
elif "videogames" in activity:
|
||||
search_bing(random.choice([
|
||||
"Minecraft", "GTA V",
|
||||
"Tetris", "PUBG",
|
||||
"Mario Kart 8",
|
||||
"Red Dead Redemption II",
|
||||
"Terraria",
|
||||
"The Witcher",
|
||||
"Animal Crossing",
|
||||
"Pokémon rouge & bleu",
|
||||
"Super Mario Bros",
|
||||
"The legend of Zelda BOTW",
|
||||
"Call of Duty Modern Warfare",
|
||||
"The Witcher III"
|
||||
]))
|
||||
else:
|
||||
log_error(f"Explore on bing: {activity} not found.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue