Giter Club home page Giter Club logo

pydicebot's Introduction

PyDiceBot

概述

用Python写的跑团机器人,使用Nonebot和CQHttp插件

目前版本为0.2.0

部署

Python版本要求:3.8.0+ 并安装Nonebot

> pip install nonebot

需要酷Q Air/酷Q Pro并安装CQHttp插件

请按照Nonebot帮助文档设置地址以及端口,config.py在config文件夹内

设置完成后双击main.py启动或运行以下命令

> python main.py

主要设定

除在 部署 一节中提到的config.py外,第一次启动后会在同一目录下生成whitelist.json

其中accept项为是否同意邀请入群请求

accepttrue时自动接受所有邀请入群请求

acceptfalse时自动接受whiteusers内用户的邀请请求或whitegroups内群的邀请请求

whiteuserswhitegroups内填写的分别是用户qq号和群号

主要命令

.help查看帮助文件

里面什么都写了(主要是懒得再打一次

pydicebot's People

Contributors

sorehait avatar

Stargazers

Chen Dengwei avatar  avatar

Watchers

 avatar

Forkers

cdwcgt

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.