update 0.0.6.0

This commit is contained in:
HibiKier
2021-11-04 16:11:50 +08:00
parent 21c1950898
commit 19d650c35d
217 changed files with 8213 additions and 5697 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
from nonebot import on_regex
from .data_source import get_weather_of_city, update_city, get_city_list
from .data_source import get_weather_of_city, get_city_list
from nonebot.adapters.cqhttp import Bot, MessageEvent, GroupMessageEvent
from jieba import posseg
from services.log import logger
@@ -28,7 +28,7 @@ __plugin_settings__ = {
}
weather = on_regex(r".*?(.*)市?的?天气.*?", priority=5, block=True)
weather = on_regex(r".{0,10}市?的?天气.{0,10}", priority=5, block=True)
@weather.handle()