GitPedia

CoolQBot

基于 NoneBot2 的聊天机器人

From he0119·Updated June 11, 2026·View on GitHub·

**CoolQBot** is a 基于 NoneBot2 的聊天机器人 The project is written primarily in Python, distributed under the MIT License license, first published in 2018. Key topics include: coolq, nonebot2, python, qqbot.

Latest release: v0.27.7
May 15, 2026View Changelog →
<!-- markdownlint-disable-next-line MD033 MD041 --> <div align="center">

CoolQBot

CI
Codecov
Powered by NoneBot

</div>

这只是一个随便写写的机器人,主要工作就是按照一定的规则进行复读 (模仿人类),其他功能都是增加可玩性的。

关于名称:最早机器人是基于 酷Q,然而现在已经是时代的眼泪。想想还是把这个名字保留下来,留作纪念。

运行

<!-- markdownlint-disable-next-line MD013 -->
shell
# 首先克隆代码到本地 git clone https://github.com/he0119/CoolQBot.git # 安装机器人所需依赖 uv sync # 配置机器人通用配置 vim .env

请先参考 .env 配置项注释中的链接,配置好所需的适配器,同时填写好各种插件的配置。

接下来就可以尝试运行机器人。

shell
# 初始化数据库 uv run nb orm upgrade # 运行机器人 uv run nb run

Docker

如果你的计算机上安装有 Docker

你不需要执行上面的步骤,请直接将仓库中的 docker-compose.yml.env 文件放置在一个你想存放机器人的文件夹内。

请先参考 .env 配置项注释中的链接,配置好所需的适配器,同时填写好各种插件的配置。

完成配置之后在 docker-compose.yml 文件所在目录下运行 sudo docker compose up -d,便可启动机器人。

功能

请完成部署之后,向机器人发送 /help 命令获取各种功能的介绍。

Contributors

Showing top 8 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from he0119/CoolQBot via the GitHub API.Last fetched: 6/20/2026