docs: fix syntax in readme, change my-bot module to mybot-api module
This commit is contained in:
parent
62b001b131
commit
1abdcbb691
10
README.md
10
README.md
@ -11,7 +11,7 @@
|
|||||||
2. 任意 OneBot11 协议框架的实现
|
2. 任意 OneBot11 协议框架的实现
|
||||||
|
|
||||||
### 使用步骤
|
### 使用步骤
|
||||||
1. 前往 [Github Release](https://github.com/Wzp-2008/MyBot/releases/latest) 或 [Gitea Release](https://wzpmc.cn:3000/wzp/MyBot/releases/latest) 下载最新版本的 JAR 包。
|
1. 前往 [GitHub Release](https://github.com/Wzp-2008/MyBot/releases/latest) 或 [Gitea Release](https://wzpmc.cn:3000/wzp/MyBot/releases/latest) 下载最新版本的 JAR 包。
|
||||||
2. 将下载的 JAR 包放入一个空文件夹中。
|
2. 将下载的 JAR 包放入一个空文件夹中。
|
||||||
3. 启动你的 OneBot 实例。
|
3. 启动你的 OneBot 实例。
|
||||||
4. 通过以下命令启动 MyBot 服务端:
|
4. 通过以下命令启动 MyBot 服务端:
|
||||||
@ -71,7 +71,7 @@ repositories {
|
|||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.wzpmc</groupId>
|
<groupId>cn.wzpmc</groupId>
|
||||||
<artifactId>my-bot</artifactId>
|
<artifactId>mybot-api</artifactId>
|
||||||
<version>[LATEST-VERSION]</version>
|
<version>[LATEST-VERSION]</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
@ -80,16 +80,16 @@ repositories {
|
|||||||
|
|
||||||
##### Groovy DSL
|
##### Groovy DSL
|
||||||
```groovy
|
```groovy
|
||||||
implementation 'cn.wzpmc:my-bot:[LATEST-VERSION]'
|
implementation 'cn.wzpmc:mybot-api:[LATEST-VERSION]'
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Kotlin DSL
|
##### Kotlin DSL
|
||||||
```kotlin
|
```kotlin
|
||||||
implementation("cn.wzpmc:my-bot:[LATEST-VERSION]")
|
implementation("cn.wzpmc:mybot-api:[LATEST-VERSION]")
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
如此设置之后,您将轻松地将 MyBot 集成到您的项目中,并快速构建与 OneBot11 兼容的机器人应用。Enjoy~
|
如此设置之后,您将轻松地将 MyBot-API 集成到您的项目中,并快速构建与 OneBot11 兼容的机器人应用。Enjoy~
|
||||||
|
|
||||||
---
|
---
|
10
README_EN.md
10
README_EN.md
@ -11,7 +11,7 @@
|
|||||||
2. Implementation of any OneBot11 protocol framework
|
2. Implementation of any OneBot11 protocol framework
|
||||||
|
|
||||||
### Steps to Use
|
### Steps to Use
|
||||||
1. Go to [Github Release](https://github.com/Wzp-2008/MyBot/releases/latest) or [Gitea Release](https://wzpmc.cn:3000/wzp/MyBot/releases/latest) to download the latest version of the JAR package.
|
1. Go to [GitHub Release](https://github.com/Wzp-2008/MyBot/releases/latest) or [Gitea Release](https://wzpmc.cn:3000/wzp/MyBot/releases/latest) to download the latest version of the JAR package.
|
||||||
2. Place the downloaded JAR package in an empty folder.
|
2. Place the downloaded JAR package in an empty folder.
|
||||||
3. Start your OneBot instance.
|
3. Start your OneBot instance.
|
||||||
4. Start the MyBot server using the following command:
|
4. Start the MyBot server using the following command:
|
||||||
@ -71,7 +71,7 @@ In your `pom.xml`, add the following dependency:
|
|||||||
```xml
|
```xml
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.wzpmc</groupId>
|
<groupId>cn.wzpmc</groupId>
|
||||||
<artifactId>my-bot</artifactId>
|
<artifactId>mybot-api</artifactId>
|
||||||
<version>[LATEST-VERSION]</version>
|
<version>[LATEST-VERSION]</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
@ -80,16 +80,16 @@ In your `pom.xml`, add the following dependency:
|
|||||||
|
|
||||||
##### Groovy DSL
|
##### Groovy DSL
|
||||||
```groovy
|
```groovy
|
||||||
implementation 'cn.wzpmc:my-bot:[LATEST-VERSION]'
|
implementation 'cn.wzpmc:mybot-api:[LATEST-VERSION]'
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Kotlin DSL
|
##### Kotlin DSL
|
||||||
```kotlin
|
```kotlin
|
||||||
implementation("cn.wzpmc:my-bot:[LATEST-VERSION]")
|
implementation("cn.wzpmc:mybot-api:[LATEST-VERSION]")
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
With these settings, you'll be able to seamlessly integrate MyBot into your project and quickly build OneBot11-compatible bot applications. Enjoy!
|
With these settings, you'll be able to seamlessly integrate MyBot-API into your project and quickly build OneBot11-compatible bot applications. Enjoy!
|
||||||
|
|
||||||
---
|
---
|
Loading…
x
Reference in New Issue
Block a user