Skip to content

Commit

Permalink
fix: 导入包名错误
Browse files Browse the repository at this point in the history
  • Loading branch information
ikenxuan committed Aug 2, 2024
1 parent 3966593 commit c1ca127
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/api/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

```js
// 一个简单的例子,回复消息
import { segment, Bot } from '#Karin'
import { segment, Bot } from 'node-karin'

const self_id = 123456789
await Bot.sendMsg(
Expand Down
2 changes: 1 addition & 1 deletion docs/api/standard.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ console.log(res)
```

```js [主动调用]
import { Bot } from '#Karin'
import { Bot } from 'node-karin'

const self_id = 123456789

Expand Down
2 changes: 1 addition & 1 deletion docs/utils/Renderer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Renderer

```js twoslash
import { Renderer } from '#Karin'
import { Renderer } from 'node-karin'
```
# 正在编写中,咕咕咕~
9 changes: 5 additions & 4 deletions docs/utils/karin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit c1ca127

Please sign in to comment.