Giter Club home page Giter Club logo

coolqbot's Introduction

CoolQBot

CI codecov Powered by NoneBot

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

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

运行

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

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

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

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

Docker

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

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

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

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

推荐使用 Docker 部署,因为机器人的音乐插件依赖于 netease_cloud_music_api

功能

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

coolqbot's People

Contributors

he0119 avatar dependabot[bot] avatar pre-commit-ci[bot] avatar renovate[bot] avatar jacobfx avatar dependabot-preview[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.