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

3 lines
88 B
Python
Raw Normal View History

2018-08-26 12:35:53 +08:00
async def get_weather_of_city(city: str) -> str:
return f'{city}的天气是……'