GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - he0119/CoolQBot: 基于 NoneBot2 的聊天机器人

BranchesTags
Open more actions menu

Latest commit

 

History

1,146 Commits
1,146 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
docker
docker
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.env
.env
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.python-version
.python-version
 
 
AGENTS.md
AGENTS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bot.py
bot.py
 
 
docker-compose.yml
docker-compose.yml
 
 
prestart.sh
prestart.sh
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

CoolQBot

CI Codecov Powered by NoneBot Website

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

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

运行

# 首先克隆代码到本地
git clone https://github.com/he0119/CoolQBot.git
# 安装机器人所需依赖
uv sync
# 配置机器人通用配置
vim .env

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

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

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

Docker

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

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

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

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

功能

访问 CoolQBot 功能介绍网站 浏览主要功能与常用命令。

完成部署之后,也可以直接向机器人发送 /help 命令获取当前平台和群组可用的功能介绍。

About

基于 NoneBot2 的聊天机器人

bot-docs.hehome.xyz/

Topics

coolqnonebot2pythonqqbot

Resources

Readme
MIT license
Activity

Stars

94 stars

Watchers

1 watching

Forks

24 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.