Coder Social home page Coder Social logo

bingyue-dic's Introduction

Bingyue Dictionary

✨ 一个可以支持变量的词库系统 基于nonebot✨

新人必看

如果你不懂python或者如何使用cq
可以前往我博客观看教程
点击进入



一键部署

1.确保你电脑已经拥有python3.7更高版本
2.点击下载部署包
3.解压
4.运行安装依赖库.bat
5.运行点我更新.bat
6.运行点我启动.bat
7.在cq配置文件里

找到

universal: ws://your_websocket_universal.server

改成

universal: ws://127.0.0.1:20000/onebot/v11/ws/



配置说明

1.打开你的.env.dev
2.输入如下(已有的无需重复操作)

owner_dic=0 ##词库主人
admin_dic=["0"] ##词库管理员列表

3.保存



目前已适配的语法(注:本页变量大全不再更新 请转移我的博客)

  • 如果
  • 如果尾
  • 返回
  • 取变量
  • 正则匹配



目前适配的变量(注:本页变量大全不再更新 请转移我的博客)

  • %QQ%:发言人QQ
  • %Robot% 机器人QQ
  • %群号% 获取qq群号
  • $禁 群号 QQ 秒数$ 群里禁言
  • $读 路径/路径 a 0$ 读取文件
  • $随机数 0 1$ 随机数
  • $改 群号 QQ 名字$ 改群里名字
  • $访问 网址$ 访问链接
  • %管理员% 获取管理员列表 以json形式返回
  • %主人% 获取主人qq号
  • $写 路径/路径 a 0$ 写文件
  • $群头衔 群号 QQ 内容$ 给头衔的
  • $全体禁言 群号 开$ 全体禁言
  • $获取 消息类型 第几个$ 获取消息参数
  • $管理员 %QQ%$ 判断该qq号在不在词库管理员列表 true则返回qq号 false返回0
  • %Type% 获取消息类型



关于最后

  • 作者 : Bingyue
  • QQ : 35***19417
  • github : bingqiu456
  • 编写时间 2022-10-02 13:33:02

最后本项目
仅供研究学习 请不要内战
伪代码没啥前途 说真的

bingyue-dic's People

Contributors

bingqiu456 avatar sayorijust avatar

Watchers

 avatar

Forkers

sayorijust

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.