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: 还没写完