nonebot-plugin-maimaidx 3.1.0__tar.gz → 3.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/PKG-INFO +1 -1
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/__init__.py +1 -1
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/__init__.py +1 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/mai_base.py +18 -1
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/alias_sse_push.py +10 -23
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/__init__.py +1 -1
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/utils/calc.py +6 -6
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx.egg-info/PKG-INFO +1 -1
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/pyproject.toml +3 -1
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/LICENSE +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/README.md +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/depend.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/mai_alias.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/mai_guess.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/mai_score.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/mai_search.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/mai_table.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/commands/oauth_message.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/config.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/constants.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/divingfish/client.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/divingfish/exceptions.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/divingfish/models/__init__.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/divingfish/models/music.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/divingfish/models/oauth.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/divingfish/models/score.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/divingfish/oauth.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/exceptions.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/http.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/client.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/exceptions.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/models/__init__.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/models/base.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/models/collection.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/models/enum.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/models/music.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/models/oauth.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/models/player.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/lxns/models/score.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/yuzuchan/client.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/yuzuchan/exceptions.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/yuzuchan/models/__init__.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/yuzuchan/models/alias.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/yuzuchan/models/enum.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/yuzuchan/models/message.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/yuzuchan/models/sse.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/clients/yuzuchan/models/status.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/database/qq.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/divingfish_oauth.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/handler.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/handler_error.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/__init__.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/assets.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/base.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/best50.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/chart.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/info.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/plate_table.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/rating_table.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/score.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/song.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/tools.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/image/update_table.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/lxns_oauth.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/alias.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/alias_list.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/models/__init__.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/models/alias.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/models/best50.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/models/enum.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/models/guess.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/models/player.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/models/score.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/models/song.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/music_list.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/play_result.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/merge/player.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/pending_binding.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/service/__init__.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/service/diving_fish.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/service/lxns.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/service/yuzuchan.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/tool.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/maimaidxhelp.png +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/resources.py +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx.egg-info/SOURCES.txt +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx.egg-info/dependency_links.txt +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx.egg-info/requires.txt +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx.egg-info/top_level.txt +0 -0
- {nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/setup.cfg +0 -0
{nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/__init__.py
RENAMED
|
@@ -15,7 +15,7 @@ from .resources import plate_table_dir, rating_table_dir
|
|
|
15
15
|
|
|
16
16
|
scheduler = require("nonebot_plugin_apscheduler")
|
|
17
17
|
|
|
18
|
-
from nonebot_plugin_apscheduler import scheduler
|
|
18
|
+
from nonebot_plugin_apscheduler import scheduler
|
|
19
19
|
|
|
20
20
|
__plugin_meta__ = PluginMetadata(
|
|
21
21
|
name="nonebot-plugin-maimaidx",
|
|
@@ -53,7 +53,24 @@ from .depend import (
|
|
|
53
53
|
GetUserAndAuth,
|
|
54
54
|
GetUserAndAuthOrNone,
|
|
55
55
|
)
|
|
56
|
-
from .oauth_message import
|
|
56
|
+
from .oauth_message import (
|
|
57
|
+
BINDING_TEMPORARY_FAILED_MSG,
|
|
58
|
+
DIVINGFISH_AUTHORIZE_MSG,
|
|
59
|
+
DIVINGFISH_BIND_FAILED_MSG,
|
|
60
|
+
DIVINGFISH_BIND_SUCCESS_MSG,
|
|
61
|
+
DIVINGFISH_CODE_FAILED_MSG,
|
|
62
|
+
DIVINGFISH_CODE_TEMPORARY_FAILED_MSG,
|
|
63
|
+
DIVINGFISH_INVALID_CODE_MSG,
|
|
64
|
+
DIVINGFISH_MISMATCH_MSG,
|
|
65
|
+
DIVINGFISH_NO_SESSION_MSG,
|
|
66
|
+
DIVINGFISH_OAUTH_ERROR,
|
|
67
|
+
DIVINGFISH_SESSION_TTL,
|
|
68
|
+
GROUP_BIND_GUIDE,
|
|
69
|
+
INVALID_CODE_MSG,
|
|
70
|
+
LXNS_AUTHORIZE_MSG,
|
|
71
|
+
LXNS_ERROR,
|
|
72
|
+
OAUTH_FAILED_MSG,
|
|
73
|
+
)
|
|
57
74
|
|
|
58
75
|
pending_bindings = PendingBindingStore()
|
|
59
76
|
|
|
@@ -7,7 +7,7 @@ import httpx
|
|
|
7
7
|
from nonebot import get_bot
|
|
8
8
|
from nonebot.adapters.onebot.v11 import (
|
|
9
9
|
Bot,
|
|
10
|
-
|
|
10
|
+
MessageSegment,
|
|
11
11
|
)
|
|
12
12
|
|
|
13
13
|
from ..config import log, maiconfig
|
|
@@ -68,17 +68,6 @@ async def iter_sse(lines: AsyncIterator[str]) -> AsyncIterator[SSEMessage]:
|
|
|
68
68
|
)
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
def forward_msg(info: list[Message], self_id: int) -> list:
|
|
72
|
-
forward_msg_list = []
|
|
73
|
-
for msg in info:
|
|
74
|
-
data = {
|
|
75
|
-
"type": "node",
|
|
76
|
-
"data": {"name": "Bot", "uin": str(self_id), "content": msg},
|
|
77
|
-
}
|
|
78
|
-
forward_msg_list.append(data)
|
|
79
|
-
return forward_msg_list
|
|
80
|
-
|
|
81
|
-
|
|
82
71
|
async def push_alias(push: PushAliasStatus):
|
|
83
72
|
bot: Bot = get_bot()
|
|
84
73
|
|
|
@@ -87,16 +76,16 @@ async def push_alias(push: PushAliasStatus):
|
|
|
87
76
|
return
|
|
88
77
|
group_list = await bot.get_group_list()
|
|
89
78
|
group_ids: set[int] = set({g["group_id"] for g in group_list})
|
|
90
|
-
message = [
|
|
91
|
-
|
|
79
|
+
message = [
|
|
80
|
+
MessageSegment.text(
|
|
81
|
+
"检测到新的别名申请,可使用同意别名指令进行投票,点击下方链接查看详情:"
|
|
82
|
+
f"「{VOTE_URL}」\n如果不需要接收推送消息,请使用「关闭别名推送」指令关闭推送"
|
|
83
|
+
)
|
|
84
|
+
]
|
|
85
|
+
for item in push.status:
|
|
92
86
|
song_id = item.song_id
|
|
93
87
|
alias_name = item.apply_alias
|
|
94
88
|
song = mai.total_list.by_id(song_id)
|
|
95
|
-
if num == 0 and push.type == "Apply":
|
|
96
|
-
message.append(
|
|
97
|
-
"检测到新的别名申请,可使用同意别名指令进行投票,点击下方链接查看详情:"
|
|
98
|
-
f"「{VOTE_URL}」\n如果不需要接收推送消息,请使用「关闭别名推送」指令关闭推送"
|
|
99
|
-
)
|
|
100
89
|
if push.type == "Apply":
|
|
101
90
|
message.append(
|
|
102
91
|
dedent(f"""\
|
|
@@ -107,9 +96,7 @@ async def push_alias(push: PushAliasStatus):
|
|
|
107
96
|
""").strip()
|
|
108
97
|
+ await draw_chart_info(song)
|
|
109
98
|
)
|
|
110
|
-
|
|
111
|
-
return
|
|
112
|
-
forward = forward_msg(message, bot.self_id)
|
|
99
|
+
forward = [MessageSegment.node_custom(bot.self_id, "Bot", msg) for msg in message]
|
|
113
100
|
for gid in group_ids:
|
|
114
101
|
if gid in alias.push.disable:
|
|
115
102
|
continue
|
|
@@ -117,7 +104,7 @@ async def push_alias(push: PushAliasStatus):
|
|
|
117
104
|
await bot.send_group_forward_msg(group_id=gid, message=forward)
|
|
118
105
|
await asyncio.sleep(5)
|
|
119
106
|
except Exception:
|
|
120
|
-
|
|
107
|
+
log.exception(f"群:「{gid}」推送消息失败")
|
|
121
108
|
|
|
122
109
|
|
|
123
110
|
async def sse_alias_server():
|
|
@@ -248,7 +248,7 @@ async def merge_alias_data(
|
|
|
248
248
|
if lxns_aliases is not None:
|
|
249
249
|
for item in lxns_aliases.aliases:
|
|
250
250
|
song_id = item.song_id
|
|
251
|
-
if song_id > 1000:
|
|
251
|
+
if song_id > 1000 and song_id < 100000:
|
|
252
252
|
song_id += 10000
|
|
253
253
|
add_aliases(song_id, item.aliases)
|
|
254
254
|
|
|
@@ -25,7 +25,7 @@ def calc_ds(rating: float, achievements: float) -> float:
|
|
|
25
25
|
return round(rating / (a * get_base_ra(achievements)), 1)
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
def dx_score(dx:
|
|
28
|
+
def dx_score(dx: float) -> int:
|
|
29
29
|
"""
|
|
30
30
|
获取DX评分星星数量
|
|
31
31
|
|
|
@@ -34,15 +34,15 @@ def dx_score(dx: int) -> int:
|
|
|
34
34
|
Returns:
|
|
35
35
|
`int` 返回星星数量
|
|
36
36
|
"""
|
|
37
|
-
if dx
|
|
37
|
+
if dx < 85:
|
|
38
38
|
result = 0
|
|
39
|
-
elif dx
|
|
39
|
+
elif dx < 90:
|
|
40
40
|
result = 1
|
|
41
|
-
elif dx
|
|
41
|
+
elif dx < 93:
|
|
42
42
|
result = 2
|
|
43
|
-
elif dx
|
|
43
|
+
elif dx < 95:
|
|
44
44
|
result = 3
|
|
45
|
-
elif dx
|
|
45
|
+
elif dx < 97:
|
|
46
46
|
result = 4
|
|
47
47
|
else:
|
|
48
48
|
result = 5
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "nonebot-plugin-maimaidx"
|
|
3
|
-
version = "3.1.
|
|
3
|
+
version = "3.1.2"
|
|
4
4
|
authors = [
|
|
5
5
|
{ name="Yuri-YuzuChaN", email="806235364@qq.com" },
|
|
6
6
|
]
|
|
@@ -42,6 +42,8 @@ ignore = [
|
|
|
42
42
|
"PLE0704",
|
|
43
43
|
"RUF012",
|
|
44
44
|
"B008",
|
|
45
|
+
"E402",
|
|
46
|
+
"F811",
|
|
45
47
|
"S110",
|
|
46
48
|
"S112"
|
|
47
49
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/config.py
RENAMED
|
File without changes
|
{nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/core/tool.py
RENAMED
|
File without changes
|
|
File without changes
|
{nonebot_plugin_maimaidx-3.1.0 → nonebot_plugin_maimaidx-3.1.2}/nonebot_plugin_maimaidx/resources.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|