天气,不要结尾是天气的解析
This commit is contained in:
@@ -150,7 +150,6 @@ class WeatherPlugin(MessagePluginInterface):
|
||||
content = str(message.get("content", "")).strip()
|
||||
for cmd in ["天气", "订阅天气", "取消订阅"]:
|
||||
if content.startswith(cmd): return True
|
||||
return content.endswith("天气")
|
||||
|
||||
@plugin_stats_decorator(plugin_name="天气查询")
|
||||
@plugin_points_cost(10, "天气服务消耗积分", FEATURE_KEY)
|
||||
|
||||
Reference in New Issue
Block a user