diff --git a/packages/adapters/email/package.json b/packages/adapters/email/package.json index 8028943e..7055aa93 100644 --- a/packages/adapters/email/package.json +++ b/packages/adapters/email/package.json @@ -1,8 +1,8 @@ { - "name": "@zhinjs/discord", + "name": "@zhinjs/email", "main": "lib/index.js", "types": "lib/index.d.ts", - "version": "1.0.23", + "version": "0.0.1", "scripts": { "build": "tsc && tsc-alias" }, @@ -12,15 +12,13 @@ "author": "凉菜", "repository": { "url": "https://github.com/zhinjs/zhin", - "directory": "packages/adapters/discord" + "directory": "packages/adapters/email" }, "dependencies": { - "zhin": "workspace:^", - "ts-disc-bot": "latest" + "zhin": "workspace:^" }, "devDependencies": { "zhin": "workspace:^", - "ts-disc-bot": "latest", "@types/node": "latest", "@types/ws": "latest" } diff --git a/packages/adapters/email/src/index.ts b/packages/adapters/email/src/index.ts index e69de29b..9fe52436 100644 --- a/packages/adapters/email/src/index.ts +++ b/packages/adapters/email/src/index.ts @@ -0,0 +1,4 @@ +import { Adapter } from 'zhin'; + +const adapter = new Adapter('kritor'); +export default adapter; diff --git a/packages/adapters/kritor/package.json b/packages/adapters/kritor/package.json index 8028943e..0a2b4d42 100644 --- a/packages/adapters/kritor/package.json +++ b/packages/adapters/kritor/package.json @@ -1,8 +1,8 @@ { - "name": "@zhinjs/discord", + "name": "@zhinjs/kritor", "main": "lib/index.js", "types": "lib/index.d.ts", - "version": "1.0.23", + "version": "0.0.1", "scripts": { "build": "tsc && tsc-alias" }, @@ -12,15 +12,13 @@ "author": "凉菜", "repository": { "url": "https://github.com/zhinjs/zhin", - "directory": "packages/adapters/discord" + "directory": "packages/adapters/kritor" }, "dependencies": { - "zhin": "workspace:^", - "ts-disc-bot": "latest" + "zhin": "workspace:^" }, "devDependencies": { "zhin": "workspace:^", - "ts-disc-bot": "latest", "@types/node": "latest", "@types/ws": "latest" } diff --git a/packages/adapters/kritor/src/index.ts b/packages/adapters/kritor/src/index.ts new file mode 100644 index 00000000..e69de29b