mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-15 11:54:40 +08:00
小问题
This commit is contained in:
parent
886213f38d
commit
eaefd4b9fe
@ -505,7 +505,7 @@ async def _(
|
|||||||
def go_chk_point() -> bool:
|
def go_chk_point() -> bool:
|
||||||
res, pnt = query_convert_points(
|
res, pnt = query_convert_points(
|
||||||
usr_id,
|
usr_id,
|
||||||
"music",
|
"structure",
|
||||||
random.random() % 0.4 + 0.1,
|
random.random() % 0.4 + 0.1,
|
||||||
)
|
)
|
||||||
if not res:
|
if not res:
|
||||||
@ -576,7 +576,7 @@ async def _(
|
|||||||
fp := str(
|
fp := str(
|
||||||
(
|
(
|
||||||
temporary_dir
|
temporary_dir
|
||||||
/ (fn := "msctr[{}]-{}.zip".format(hanzi_timeid(), usr_id))
|
/ (fn := "struct[{}]-{}.zip".format(hanzi_timeid(), usr_id))
|
||||||
).resolve()
|
).resolve()
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@ -639,10 +639,10 @@ async def _(
|
|||||||
"转换结束,当前剩余转换点数:⌊p⌋≈{:.2f}|{}".format(
|
"转换结束,当前剩余转换点数:⌊p⌋≈{:.2f}|{}".format(
|
||||||
query_convert_points(
|
query_convert_points(
|
||||||
usr_id,
|
usr_id,
|
||||||
"music",
|
"structure",
|
||||||
0,
|
0,
|
||||||
)[1],
|
)[1],
|
||||||
configdict["maxPersonConvert"]["music"],
|
configdict["maxPersonConvert"]["structure"],
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
at_sender=True,
|
at_sender=True,
|
||||||
|
@ -95,9 +95,9 @@ else:
|
|||||||
"donateSite": "",
|
"donateSite": "",
|
||||||
"helpPicPath": "https://foruda.gitee.com/images/1685873169584963569/95fe9b0b_9911226.png",
|
"helpPicPath": "https://foruda.gitee.com/images/1685873169584963569/95fe9b0b_9911226.png",
|
||||||
"maxCacheSize": 1048576,
|
"maxCacheSize": 1048576,
|
||||||
"maxCacheTime": {".mcfunction": 900, ".mid .midi": 1800, ".json": 1800},
|
"maxCacheTime": {".mcfunction .txt": 900, ".mid .midi": 1800, ".json": 1800},
|
||||||
"maxSingleFileSize": {
|
"maxSingleFileSize": {
|
||||||
".mcfunction": 524288,
|
".mcfunction .txt": 524288,
|
||||||
".mid .midi": 131072,
|
".mid .midi": 131072,
|
||||||
".json": 8192,
|
".json": 8192,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user