From cdf6507509e3ee8298b1875d48445cb1995124ac Mon Sep 17 00:00:00 2001 From: xiwangly2 Date: Sun, 19 Jan 2025 21:53:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=EF=BC=8C=E5=85=88=E7=94=A8?= =?UTF-8?q?=20AI=20=E5=A1=9E=E8=BF=9B=E6=9D=A5=E5=86=8D=E8=AF=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/api/NapCat.py | 2 +- internal/api/OneBot11.py | 2 +- internal/api/__init__.py | 0 internal/{ => api}/functions.py | 0 internal/api/go-cqhttp.py | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 internal/api/__init__.py rename internal/{ => api}/functions.py (100%) diff --git a/internal/api/NapCat.py b/internal/api/NapCat.py index d3524f7..5f56446 100644 --- a/internal/api/NapCat.py +++ b/internal/api/NapCat.py @@ -1,5 +1,5 @@ # 导入自己写的模块 -from internal.functions import send_api_request +from internal.api.functions import send_api_request # 群签到 diff --git a/internal/api/OneBot11.py b/internal/api/OneBot11.py index f8ca91f..8c5ac60 100644 --- a/internal/api/OneBot11.py +++ b/internal/api/OneBot11.py @@ -1,5 +1,5 @@ # 导入自己写的模块 -from internal.functions import send_api_request +from internal.api.functions import send_api_request # 发送私聊消息 diff --git a/internal/api/__init__.py b/internal/api/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/internal/functions.py b/internal/api/functions.py similarity index 100% rename from internal/functions.py rename to internal/api/functions.py diff --git a/internal/api/go-cqhttp.py b/internal/api/go-cqhttp.py index 353eca3..7daad81 100644 --- a/internal/api/go-cqhttp.py +++ b/internal/api/go-cqhttp.py @@ -1,5 +1,5 @@ # 导入自己写的模块 -from internal.functions import send_api_request +from internal.api.functions import send_api_request # TODO: 还没写完