其中 ${version}
为 Maven Central 上的最新版本号。
implementation 'me.zhenxin:qqbot-sdk:${version}' // Groovy DSL
implementation("me.zhenxin:qqbot-sdk:${version}") // Kotlin DSL
<dependency>
<groupId>me.zhenxin</groupId>
<artifactId>qqbot-sdk</artifactId>
<version>${version}</version>
</dependency>
设置环境变量 QQBOT_LOG_LEVEL
来设置日志级别
日志级别 | 说明 |
---|---|
DEBUG |
调试信息 |
INFO |
信息 |
WARN |
警告 |
ERROR |
错误 |
本项目使用 GPL-3.0 协议开放源代码
QQBot SDK - QQ Official Bot SDK for Java/Kotlin
Copyright (C) 2023 ZhenXin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
如果您觉得本项目对您有帮助,欢迎赞助我们