diff --git a/docs/api/contact.md b/docs/api/contact.md index 5712e30..a4f8eb4 100644 --- a/docs/api/contact.md +++ b/docs/api/contact.md @@ -28,7 +28,7 @@ ```js // 一个简单的例子,回复消息 -import { segment, Bot } from '#Karin' +import { segment, Bot } from 'node-karin' const self_id = 123456789 await Bot.sendMsg( diff --git a/docs/api/standard.md b/docs/api/standard.md index fe02640..1eaa9b0 100644 --- a/docs/api/standard.md +++ b/docs/api/standard.md @@ -25,7 +25,7 @@ console.log(res) ``` ```js [主动调用] -import { Bot } from '#Karin' +import { Bot } from 'node-karin' const self_id = 123456789 diff --git a/docs/utils/Renderer.md b/docs/utils/Renderer.md index 7f2fc42..09c4a1f 100644 --- a/docs/utils/Renderer.md +++ b/docs/utils/Renderer.md @@ -1,6 +1,6 @@ # Renderer ```js twoslash -import { Renderer } from '#Karin' +import { Renderer } from 'node-karin' ``` # 正在编写中,咕咕咕~ diff --git a/docs/utils/karin.md b/docs/utils/karin.md index 2df0114..78a9752 100644 --- a/docs/utils/karin.md +++ b/docs/utils/karin.md @@ -29,11 +29,12 @@ import { segment, Plugin } from 'node-karin' ``` - ## `Bot` +`Bot` 类拥有 [**标准API**](../api/standard.md) 中的所有 - ```js twoslash - import { Bot } from 'node-karin' - // ... - ``` +```js twoslash +import { Bot } from 'node-karin' +// ... +``` - ## `Cfg`