nonebot2/docs/guide/code/awesome-bot-3/awesome/plugins/weather/data_source.py

3 lines
88 B
Python
Raw Normal View History

2018-08-19 20:51:46 +08:00
async def get_weather_of_city(city: str) -> str:
return f'{city}的天气是……'