Skip to content

Commit 9476b60

Browse files
SilverSlinky606timiya2333
authored andcommitted
Fix: MarkDown Warning(some
1 parent 2f96df3 commit 9476b60

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,14 @@ sudo apt-get install nodejs npm # Linux Debian系可以这样安装
102102
# Linux 用户在此处打开终端,输入:
103103
chmod +x ./TMBotStart && ./TMBotStart
104104
```
105+
105106
3. 启动TMBot
107+
106108
```sh
107109
./TMBotStart # Linux
108110
TMBotStart.exe # Windows
109111
```
112+
110113
### 文件目录说明
111114

112115
```json
@@ -155,14 +158,15 @@ FileTree:
155158
**而在`LiteLoaderBDS`上,根目录是作用于`BDS根目录`上的**
156159

157160
**所以可以使用**
161+
158162
```js
159163
FileClass.getStandardPath(<相对目录>)
160164
```
165+
161166
**来获取作用于项目路径的绝对路径来避免此类BUG出现**
162167

163168
*```TIPS: TMBot的基础接口实现已经全部使用了上述方法,所以可以直接传入作用于项目的相对路径```*
164169

165-
166170
#### 一些额外注意事项
167171

168172
1. TMBot已经为你写好了一些基础接口实现,
@@ -193,6 +197,7 @@ tools/logger: Logger
193197
(请不要随意"使用"内部功能实现的模块) 如:```OneBotDocking``````PluginLoader``````Websocket```
194198
虽然不可以使用,但是可以引用它内部的方法作为参数类型
195199
8. 请在你正在使用的WS实例销毁时一并结束你的插件的一切工作,例子:
200+
196201
```js
197202
let tmp = BotDockingMgr.getBot("xxx");
198203
let sid = setInterval(()=>{},1000);
@@ -201,10 +206,9 @@ tmp.Client.events.onDestroy.on(()=>{
201206
})
202207
```
203208

204-
205209
### 版本控制
206210

207-
该项目使用Git进行版本管理。您可以在GitHub查看当前可用版本。
211+
该项目使用Git进行版本管理。您可以在GitHub查看当前可用版本。
208212

209213
### 作者
210214

0 commit comments

Comments
 (0)