add wind speed for !vreme
This commit is contained in:
parent
d52b4ac5e5
commit
72c474e97f
@ -50,7 +50,7 @@ def getDmzTasks(url):
|
||||
return e
|
||||
|
||||
def get_weather(city:str) -> str:
|
||||
url = f"https://wttr.in/{city}?format=3"
|
||||
url = f"https://wttr.in/{city}?format=4"
|
||||
if not city.replace(" ","").isalpha():
|
||||
return "no such city"
|
||||
resp = requests.get(url)
|
||||
|
Loading…
Reference in New Issue
Block a user