From 1abdcbb6912dd67fe53bd3822c90736e889137f5 Mon Sep 17 00:00:00 2001 From: wzp Date: Mon, 26 Aug 2024 21:07:44 +0800 Subject: [PATCH] docs: fix syntax in readme, change my-bot module to mybot-api module --- README.md | 10 +++++----- README_EN.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 83f2193..203e336 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ 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 包放入一个空文件夹中。 3. 启动你的 OneBot 实例。 4. 通过以下命令启动 MyBot 服务端: @@ -71,7 +71,7 @@ repositories { ```xml cn.wzpmc - my-bot + mybot-api [LATEST-VERSION] ``` @@ -80,16 +80,16 @@ repositories { ##### Groovy DSL ```groovy -implementation 'cn.wzpmc:my-bot:[LATEST-VERSION]' +implementation 'cn.wzpmc:mybot-api:[LATEST-VERSION]' ``` ##### Kotlin DSL ```kotlin -implementation("cn.wzpmc:my-bot:[LATEST-VERSION]") +implementation("cn.wzpmc:mybot-api:[LATEST-VERSION]") ``` --- -如此设置之后,您将轻松地将 MyBot 集成到您的项目中,并快速构建与 OneBot11 兼容的机器人应用。Enjoy~ +如此设置之后,您将轻松地将 MyBot-API 集成到您的项目中,并快速构建与 OneBot11 兼容的机器人应用。Enjoy~ --- \ No newline at end of file diff --git a/README_EN.md b/README_EN.md index edbfceb..942ff52 100644 --- a/README_EN.md +++ b/README_EN.md @@ -11,7 +11,7 @@ 2. Implementation of any OneBot11 protocol framework ### 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. 3. Start your OneBot instance. 4. Start the MyBot server using the following command: @@ -71,7 +71,7 @@ In your `pom.xml`, add the following dependency: ```xml cn.wzpmc - my-bot + mybot-api [LATEST-VERSION] ``` @@ -80,16 +80,16 @@ In your `pom.xml`, add the following dependency: ##### Groovy DSL ```groovy -implementation 'cn.wzpmc:my-bot:[LATEST-VERSION]' +implementation 'cn.wzpmc:mybot-api:[LATEST-VERSION]' ``` ##### Kotlin DSL ```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! --- \ No newline at end of file