From 2f39a8d76e573b3ed9d3c1e6992edb4f60fc7d0b Mon Sep 17 00:00:00 2001 From: linyuchen Date: Mon, 15 Apr 2024 22:39:31 +0800 Subject: [PATCH] refactor: rename extends api folder --- src/onebot11/action/{llonebot => extends}/Config.ts | 0 src/onebot11/action/{llonebot => extends}/Debug.ts | 0 .../action/{llonebot => extends}/GetGroupAddRequest.ts | 0 src/onebot11/action/{llonebot => extends}/SetQQAvatar.ts | 0 src/onebot11/action/index.ts | 8 ++++---- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/onebot11/action/{llonebot => extends}/Config.ts (100%) rename src/onebot11/action/{llonebot => extends}/Debug.ts (100%) rename src/onebot11/action/{llonebot => extends}/GetGroupAddRequest.ts (100%) rename src/onebot11/action/{llonebot => extends}/SetQQAvatar.ts (100%) diff --git a/src/onebot11/action/llonebot/Config.ts b/src/onebot11/action/extends/Config.ts similarity index 100% rename from src/onebot11/action/llonebot/Config.ts rename to src/onebot11/action/extends/Config.ts diff --git a/src/onebot11/action/llonebot/Debug.ts b/src/onebot11/action/extends/Debug.ts similarity index 100% rename from src/onebot11/action/llonebot/Debug.ts rename to src/onebot11/action/extends/Debug.ts diff --git a/src/onebot11/action/llonebot/GetGroupAddRequest.ts b/src/onebot11/action/extends/GetGroupAddRequest.ts similarity index 100% rename from src/onebot11/action/llonebot/GetGroupAddRequest.ts rename to src/onebot11/action/extends/GetGroupAddRequest.ts diff --git a/src/onebot11/action/llonebot/SetQQAvatar.ts b/src/onebot11/action/extends/SetQQAvatar.ts similarity index 100% rename from src/onebot11/action/llonebot/SetQQAvatar.ts rename to src/onebot11/action/extends/SetQQAvatar.ts diff --git a/src/onebot11/action/index.ts b/src/onebot11/action/index.ts index 6e8d1546..0fac5dba 100644 --- a/src/onebot11/action/index.ts +++ b/src/onebot11/action/index.ts @@ -24,7 +24,7 @@ import SendLike from './user/SendLike'; import SetGroupAddRequest from './group/SetGroupAddRequest'; import SetGroupLeave from './group/SetGroupLeave'; import GetGuildList from './group/GetGuildList'; -import Debug from './llonebot/Debug'; +import Debug from '@/onebot11/action/extends/Debug'; import SetFriendAddRequest from './user/SetFriendAddRequest'; import SetGroupWholeBan from './group/SetGroupWholeBan'; import SetGroupName from './group/SetGroupName'; @@ -37,9 +37,9 @@ import GetRecord from './file/GetRecord'; import GoCQHTTPMarkMsgAsRead from './msg/MarkMsgAsRead'; import CleanCache from './system/CleanCache'; import GoCQHTTPUploadGroupFile from './go-cqhttp/UploadGroupFile'; -import { GetConfigAction, SetConfigAction } from './llonebot/Config'; -import GetGroupAddRequest from './llonebot/GetGroupAddRequest'; -import SetQQAvatar from './llonebot/SetQQAvatar'; +import { GetConfigAction, SetConfigAction } from '@/onebot11/action/extends/Config'; +import GetGroupAddRequest from '@/onebot11/action/extends/GetGroupAddRequest'; +import SetQQAvatar from '@/onebot11/action/extends/SetQQAvatar'; import GoCQHTTPDownloadFile from './go-cqhttp/DownloadFile'; import GoCQHTTPGetGroupMsgHistory from './go-cqhttp/GetGroupMsgHistory'; import GetFile from './file/GetFile';