diff --git a/liteyuki/plugins/liteyuki_markdowntest.py b/liteyuki/plugins/liteyuki_markdowntest.py index d914754b..4890ec6f 100644 --- a/liteyuki/plugins/liteyuki_markdowntest.py +++ b/liteyuki/plugins/liteyuki_markdowntest.py @@ -18,7 +18,6 @@ placeholder = { "&": "&", ",": ",", "\n" : r"\n", - "\"" : r'\\\"' } diff --git a/liteyuki/plugins/sign_status.py b/liteyuki/plugins/liteyuki_sign_status.py similarity index 96% rename from liteyuki/plugins/sign_status.py rename to liteyuki/plugins/liteyuki_sign_status.py index 8f77e7bc..8204ddba 100644 --- a/liteyuki/plugins/sign_status.py +++ b/liteyuki/plugins/liteyuki_sign_status.py @@ -19,7 +19,11 @@ __author__ = "snowykami" __plugin_meta__ = PluginMetadata( name="签名服务器状态", description="适用于ntqq的签名状态查看", - usage="", + usage=( + "sign count 查看当前签名数\n" + "sign data 查看签名数变化\n" + "sign chart [limit] 查看签名数变化图表\n" + ), type="application", homepage="https://github.com/snowykami/LiteyukiBot", extra={ diff --git a/liteyuki/plugins/liteyuki_statistics/__init__.py b/liteyuki/plugins/liteyuki_statistics/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg1.png b/liteyuki/resources/vanilla_resource/templates/img/bg1.png deleted file mode 100644 index 1660e98b..00000000 Binary files a/liteyuki/resources/vanilla_resource/templates/img/bg1.png and /dev/null differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg1.webp b/liteyuki/resources/vanilla_resource/templates/img/bg1.webp new file mode 100644 index 00000000..6c3d9259 Binary files /dev/null and b/liteyuki/resources/vanilla_resource/templates/img/bg1.webp differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg2.webp b/liteyuki/resources/vanilla_resource/templates/img/bg2.webp new file mode 100644 index 00000000..8edbe4b9 Binary files /dev/null and b/liteyuki/resources/vanilla_resource/templates/img/bg2.webp differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg3.png b/liteyuki/resources/vanilla_resource/templates/img/bg3.png deleted file mode 100644 index 99031ce5..00000000 Binary files a/liteyuki/resources/vanilla_resource/templates/img/bg3.png and /dev/null differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg3.webp b/liteyuki/resources/vanilla_resource/templates/img/bg3.webp new file mode 100644 index 00000000..c3330c95 Binary files /dev/null and b/liteyuki/resources/vanilla_resource/templates/img/bg3.webp differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg4.png b/liteyuki/resources/vanilla_resource/templates/img/bg4.png deleted file mode 100644 index fe84af79..00000000 Binary files a/liteyuki/resources/vanilla_resource/templates/img/bg4.png and /dev/null differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg4.webp b/liteyuki/resources/vanilla_resource/templates/img/bg4.webp new file mode 100644 index 00000000..a3b098ac Binary files /dev/null and b/liteyuki/resources/vanilla_resource/templates/img/bg4.webp differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg5.png b/liteyuki/resources/vanilla_resource/templates/img/bg5.png deleted file mode 100644 index 210e18f4..00000000 Binary files a/liteyuki/resources/vanilla_resource/templates/img/bg5.png and /dev/null differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg5.webp b/liteyuki/resources/vanilla_resource/templates/img/bg5.webp new file mode 100644 index 00000000..ab254e4d Binary files /dev/null and b/liteyuki/resources/vanilla_resource/templates/img/bg5.webp differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg6.png b/liteyuki/resources/vanilla_resource/templates/img/bg6.png deleted file mode 100644 index 36a9752c..00000000 Binary files a/liteyuki/resources/vanilla_resource/templates/img/bg6.png and /dev/null differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg6.webp b/liteyuki/resources/vanilla_resource/templates/img/bg6.webp new file mode 100644 index 00000000..035d5bf0 Binary files /dev/null and b/liteyuki/resources/vanilla_resource/templates/img/bg6.webp differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg7.png b/liteyuki/resources/vanilla_resource/templates/img/bg7.png deleted file mode 100644 index fc0182c2..00000000 Binary files a/liteyuki/resources/vanilla_resource/templates/img/bg7.png and /dev/null differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg7.webp b/liteyuki/resources/vanilla_resource/templates/img/bg7.webp new file mode 100644 index 00000000..a1754bbb Binary files /dev/null and b/liteyuki/resources/vanilla_resource/templates/img/bg7.webp differ diff --git a/liteyuki/resources/vanilla_resource/templates/img/bg9.png b/liteyuki/resources/vanilla_resource/templates/img/bg9.png deleted file mode 100644 index fe797f8d..00000000 Binary files a/liteyuki/resources/vanilla_resource/templates/img/bg9.png and /dev/null differ diff --git a/liteyuki/resources/vanilla_resource/templates/js/card.js b/liteyuki/resources/vanilla_resource/templates/js/card.js index 67a03590..a034cd9d 100644 --- a/liteyuki/resources/vanilla_resource/templates/js/card.js +++ b/liteyuki/resources/vanilla_resource/templates/js/card.js @@ -1,11 +1,11 @@ const bgs = [ - "bg1.png", - "bg3.png", - "bg4.png", - "bg5.png", - "bg6.png", - "bg7.png", - "bg9.png", + "bg1.webp", + "bg2.webp", + "bg3.webp", + "bg4.webp", + "bg5.webp", + "bg6.webp", + "bg7.webp", ] // 随机选择背景图片 document.body.style.backgroundImage = `url(./img/${bgs[Math.floor(Math.random() * bgs.length)]})`;