Add new cards (election, dictionary)
This commit is contained in:
parent
56c858fa90
commit
0cc42823ff
17
V6.py
17
V6.py
|
@ -484,6 +484,23 @@ def explore_on_bing(activity: str, config: Config):
|
|||
"Call of Duty Modern Warfare",
|
||||
"The Witcher III"
|
||||
]))
|
||||
elif "dictionary" in activity:
|
||||
search_bing(f"définition {config.wordlist.get_word()}")
|
||||
elif "election" in activity:
|
||||
state = random.choice([
|
||||
"Alaska", "Alabama", "Arkansas", "American Samoa", "Arizona", "California", "Colorado",
|
||||
"Connecticut", "District ", "of Columbia", "Delaware", "Florida", "Georgia", "Guam",
|
||||
"Hawaii", "Iowa", "Idaho", "Illinois", "Indiana", "Kansas", "Kentucky", "Louisiana",
|
||||
"Massachusetts", "Maryland", "Maine", "Michigan", "Minnesota", "Missouri", "Mississippi",
|
||||
"Montana", "North Carolina", "North Dakota", "Nebraska", "New Hampshire", "New Jersey",
|
||||
"New Mexico", "Nevada", "New York", "Ohio", "Oklahoma", "Oregon", "Pennsylvania",
|
||||
"Puerto Rico", "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas",
|
||||
"Utah", "Virginia", "Virgin Islands", "Vermont", "Washington", "Wisconsin",
|
||||
"West Virginia", "Wyoming"
|
||||
])
|
||||
search_bing(f"governor candidates {state} 2024")
|
||||
#elif "timezonedates" in activity:
|
||||
#pass
|
||||
else:
|
||||
log_error(f"Explore on bing: {activity} not found.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue