优化天气插件
This commit is contained in:
@@ -206,7 +206,7 @@ class WeatherPlugin(MessagePluginInterface):
|
||||
|
||||
except Exception as e:
|
||||
self.LOG.error(f"获取天气信息出错: {e}")
|
||||
return f"\n⚠️获取天气信息出错: {str(e)}"
|
||||
return ""
|
||||
|
||||
def _compose_weather_message(self, country, adm1, adm2, now_weather_api_json, weather_forecast_api_json):
|
||||
"""组合天气信息"""
|
||||
|
||||
Reference in New Issue
Block a user