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

3 lines
88 B
Python
Raw Normal View History

2019-01-21 15:25:45 +08:00
async def get_weather_of_city(city: str) -> str:
return f'{city}的天气是……'