Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktunes committed Jan 16, 2022
1 parent f95f65c commit 80e0117
Show file tree
Hide file tree
Showing 16 changed files with 240 additions and 133 deletions.
36 changes: 18 additions & 18 deletions docs/classes/bot_app.app.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,47 +50,47 @@ BOT构造函数

**Returns:** [*App*](bot_app.app.md)

Defined in: Bot/App.ts:14
Defined in: Bot/App.ts:15

## Properties

### Bot

`Private` `Readonly` **Bot**: [*Bot*](bot_bot.bot.md)

Defined in: Bot/App.ts:37
Defined in: Bot/App.ts:38

___

### \_pluginsList

`Private` **\_pluginsList**: { `class`: *boolean* ; `config?`: *any* ; `plugin`: [*Plugin*](../interfaces/type_bot.plugin.md) \| [*PluginFunction*](../modules/type_bot.md#pluginfunction) }[]= []

Defined in: Bot/App.ts:107
Defined in: Bot/App.ts:108

___

### blacklist

`Private` **blacklist**: *Set*<number\>

Defined in: Bot/App.ts:40
Defined in: Bot/App.ts:41

___

### isStart

`Private` **isStart**: *boolean*= false

Defined in: Bot/App.ts:35
Defined in: Bot/App.ts:36

___

### whitelist

`Private` **whitelist**: *Set*<number\>

Defined in: Bot/App.ts:39
Defined in: Bot/App.ts:40

## Methods

Expand All @@ -108,7 +108,7 @@ Defined in: Bot/App.ts:39

**Returns:** [*App*](bot_app.app.md)

Defined in: Bot/App.ts:81
Defined in: Bot/App.ts:82

___

Expand All @@ -126,7 +126,7 @@ ___

**Returns:** [*App*](bot_app.app.md)

Defined in: Bot/App.ts:64
Defined in: Bot/App.ts:65

___

Expand All @@ -136,7 +136,7 @@ ___

**Returns:** *Promise*<void\>

Defined in: Bot/App.ts:184
Defined in: Bot/App.ts:185

___

Expand All @@ -146,7 +146,7 @@ ___

**Returns:** *Promise*<void\>

Defined in: Bot/App.ts:251
Defined in: Bot/App.ts:252

___

Expand All @@ -156,7 +156,7 @@ ___

**Returns:** *Promise*<void\>

Defined in: Bot/App.ts:295
Defined in: Bot/App.ts:307

___

Expand All @@ -174,7 +174,7 @@ ___

**Returns:** [*App*](bot_app.app.md)

Defined in: Bot/App.ts:98
Defined in: Bot/App.ts:99

___

Expand All @@ -190,7 +190,7 @@ ___

**Returns:** [*App*](bot_app.app.md)

Defined in: Bot/App.ts:90
Defined in: Bot/App.ts:91

___

Expand All @@ -208,7 +208,7 @@ ___

**Returns:** [*App*](bot_app.app.md)

Defined in: Bot/App.ts:116
Defined in: Bot/App.ts:117

**plugin**<T\>(`plugin`: T, `config?`: *InstanceType*<T\>[``"config"``]): [*App*](bot_app.app.md)

Expand All @@ -229,7 +229,7 @@ Defined in: Bot/App.ts:116

**Returns:** [*App*](bot_app.app.md)

Defined in: Bot/App.ts:122
Defined in: Bot/App.ts:123

___

Expand All @@ -239,7 +239,7 @@ ___

**Returns:** *void*

Defined in: Bot/App.ts:192
Defined in: Bot/App.ts:193

___

Expand All @@ -259,7 +259,7 @@ ___

**Returns:** *Promise*<[*Bot*](bot_bot.bot.md)\>

Defined in: Bot/App.ts:149
Defined in: Bot/App.ts:150

___

Expand All @@ -277,4 +277,4 @@ ___

**Returns:** [*App*](bot_app.app.md)

Defined in: Bot/App.ts:46
Defined in: Bot/App.ts:47
20 changes: 10 additions & 10 deletions docs/classes/bot_bot.bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Defined in: Bot/Bot.ts:12

管理员命令

Defined in: Bot/Bot.ts:44
Defined in: Bot/Bot.ts:32

___

Expand All @@ -59,7 +59,7 @@ ___

HTTP API

Defined in: Bot/Bot.ts:52
Defined in: Bot/Bot.ts:36

___

Expand All @@ -69,7 +69,7 @@ ___

CQ码

Defined in: Bot/Bot.ts:32
Defined in: Bot/Bot.ts:26

___

Expand All @@ -79,7 +79,7 @@ ___

命令对象

Defined in: Bot/Bot.ts:40
Defined in: Bot/Bot.ts:30

___

Expand All @@ -89,7 +89,7 @@ ___

WS链接

Defined in: Bot/Bot.ts:48
Defined in: Bot/Bot.ts:34

___

Expand All @@ -99,7 +99,7 @@ ___

Bot的部分属性

Defined in: Bot/Bot.ts:24
Defined in: Bot/Bot.ts:22

___

Expand All @@ -109,7 +109,7 @@ ___

测试类

Defined in: Bot/Bot.ts:60
Defined in: Bot/Bot.ts:40

___

Expand All @@ -119,7 +119,7 @@ ___

消息事件

Defined in: Bot/Bot.ts:56
Defined in: Bot/Bot.ts:38

___

Expand All @@ -129,7 +129,7 @@ ___

日志对象

Defined in: Bot/Bot.ts:28
Defined in: Bot/Bot.ts:24

___

Expand All @@ -139,4 +139,4 @@ ___

插件对象

Defined in: Bot/Bot.ts:36
Defined in: Bot/Bot.ts:28
24 changes: 13 additions & 11 deletions docs/classes/bot_modules_admin.admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@

**Returns:** [*Admin*](bot_modules_admin.admin.md)

Defined in: Bot/modules/Admin.ts:8
Defined in: Bot/modules/Admin.ts:6

## Properties

### Bot

`Private` **Bot**: *Pick*<[*Bot*](bot_bot.bot.md), ``"Data"`` \| ``"Log"`` \| ``"CQCode"`` \| ``"Plugin"`` \| ``"Command"`` \| ``"Conn"`` \| ``"Api"`` \| ``"Event"`` \| ``"Debug"``\>

Defined in: Bot/modules/Admin.ts:12
Defined in: Bot/modules/Admin.ts:10

___

### adminList

**adminList**: *Set*<number\>

Defined in: Bot/modules/Admin.ts:14
Defined in: Bot/modules/Admin.ts:12

___

Expand All @@ -68,7 +68,7 @@ ___

被ban名单

Defined in: Bot/modules/Admin.ts:26
Defined in: Bot/modules/Admin.ts:22

## Methods

Expand All @@ -84,7 +84,7 @@ Defined in: Bot/modules/Admin.ts:26

**Returns:** *void*

Defined in: Bot/modules/Admin.ts:15
Defined in: Bot/modules/Admin.ts:13

___

Expand All @@ -102,14 +102,16 @@ ___

**Returns:** *void*

Defined in: Bot/modules/Admin.ts:83
Defined in: Bot/modules/Admin.ts:78

___

### addWhitelist

**addWhitelist**(`group_list`: *number*[]): *void*

增加白名单列表,请勿和黑名单同时使用

#### Parameters:

| Name | Type |
Expand All @@ -118,7 +120,7 @@ ___

**Returns:** *void*

Defined in: Bot/modules/Admin.ts:71
Defined in: Bot/modules/Admin.ts:68

___

Expand All @@ -138,7 +140,7 @@ ___

**Returns:** *void*

Defined in: Bot/modules/Admin.ts:33
Defined in: Bot/modules/Admin.ts:29

___

Expand All @@ -154,7 +156,7 @@ ___

**Returns:** *boolean*

Defined in: Bot/modules/Admin.ts:19
Defined in: Bot/modules/Admin.ts:17

___

Expand All @@ -170,7 +172,7 @@ ___

**Returns:** *boolean*

Defined in: Bot/modules/Admin.ts:67
Defined in: Bot/modules/Admin.ts:63

___

Expand All @@ -186,4 +188,4 @@ ___

**Returns:** *void*

Defined in: Bot/modules/Admin.ts:59
Defined in: Bot/modules/Admin.ts:55
Loading

0 comments on commit 80e0117

Please sign in to comment.