From 981421ded6fedea13839ffbfc7d6c9baac7a9fbe Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Mon, 12 Jan 2026 20:31:17 +0800 Subject: [PATCH] docs: update readme --- README.md | 2 -- README_en.md | 2 -- README_fr.md | 2 -- README_ja.md | 3 +-- README_ru.md | 2 -- README_zh-TW.md | 2 -- astrbot/core/utils/metrics.py | 2 ++ 7 files changed, 3 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f3a90fd09..7e451c910 100644 --- a/README.md +++ b/README.md @@ -135,8 +135,6 @@ uv run main.py - [Matrix](https://github.com/stevessr/astrbot_plugin_matrix_adapter) - [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) - [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat) -- [Bilibili 私信](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter) -- [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11) ## 支持的模型服务 diff --git a/README_en.md b/README_en.md index c950301b3..67ca39249 100644 --- a/README_en.md +++ b/README_en.md @@ -137,8 +137,6 @@ Or refer to the official documentation: [Deploy AstrBot from Source](https://ast - [Matrix](https://github.com/stevessr/astrbot_plugin_matrix_adapter) - [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) - [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat) -- [Bilibili Direct Messages](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter) -- [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11) ## Supported Model Services diff --git a/README_fr.md b/README_fr.md index 2ae7afb5f..a47e15eea 100644 --- a/README_fr.md +++ b/README_fr.md @@ -137,8 +137,6 @@ Ou consultez la documentation officielle : [Déployer AstrBot depuis les sources - [Matrix](https://github.com/stevessr/astrbot_plugin_matrix_adapter) - [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) - [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat) -- [Messages directs Bilibili](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter) -- [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11) ## Services de modèles pris en charge diff --git a/README_ja.md b/README_ja.md index 968c658c9..bab9d629e 100644 --- a/README_ja.md +++ b/README_ja.md @@ -137,8 +137,7 @@ uv run main.py - [Matrix](https://github.com/stevessr/astrbot_plugin_matrix_adapter) - [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) - [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat) -- [Bilibili ダイレクトメッセージ](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter) -- [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11) + ## サポートされているモデルサービス diff --git a/README_ru.md b/README_ru.md index 3380efaa1..0f52c1c6a 100644 --- a/README_ru.md +++ b/README_ru.md @@ -137,8 +137,6 @@ uv run main.py - [Matrix](https://github.com/stevessr/astrbot_plugin_matrix_adapter) - [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) - [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat) -- [Личные сообщения Bilibili](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter) -- [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11) ## Поддерживаемые сервисы моделей diff --git a/README_zh-TW.md b/README_zh-TW.md index bee6479ee..c6df22ea2 100644 --- a/README_zh-TW.md +++ b/README_zh-TW.md @@ -137,8 +137,6 @@ uv run main.py - [Matrix](https://github.com/stevessr/astrbot_plugin_matrix_adapter) - [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) - [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat) -- [Bilibili 私訊](https://github.com/Hina-Chat/astrbot_plugin_bilibili_adapter) -- [wxauto](https://github.com/luosheng520qaq/wxauto-repost-onebotv11) ## 支援的模型服務 diff --git a/astrbot/core/utils/metrics.py b/astrbot/core/utils/metrics.py index f12019e3c..d3dc732d2 100644 --- a/astrbot/core/utils/metrics.py +++ b/astrbot/core/utils/metrics.py @@ -45,6 +45,8 @@ class Metric: Powered by TickStats. """ + if os.environ.get("ASTRBOT_DISABLE_METRICS", "0") == "1": + return base_url = "https://tickstats.soulter.top/api/metric/90a6c2a1" kwargs["v"] = VERSION kwargs["os"] = sys.platform