Giter Club home page Giter Club logo

mqga's Introduction

迷途的羔羊

MQGA

“Mostly a QQ Group Assistant”

tencent-guild

Instructions

Note: This framework is built mainly for Chinese users thus may display hard-coded Chinese prompts during the interaction.

参见 QQ 官方文档

安装

安装python3.10+

pip install --user pdm
# cd到项目目录
pdm install

命令行参数

[]代表是可选参数

pdm bot [-Tadhst] ID1 ID2 ...

  -a <str>
        appid -> qq 机器人ID
  -s <str>
        secret -> qq 机器人密钥
  -t <str>
        token -> 机器人令牌
  -p
        public -> only listen to public intent
  -b
        sandbox -> run in sandbox api
  -c <str>
        config -> load config from config file
  -d <str>
        dump -> save bot config to filename (eg. config.toml)
  -h    
        help -> print MQGA help
  -D    
        debug -> set log to debug-level output
  -L    
        legacy -> used old qqbot api 
  -R    
        reload -> enable auto reloading mode

其中 qq 机器人ID、密钥、令牌 在 https://q.qq.com/bot/#/developer/developer-setting 获取

第一次使用时如果没有导入config文件,将会以参数保存到config.toml,下次启动bot可以不需要再次传参.

指令参数优先级: bot参数 > 指定config文件 > 默认config文件

插件管理

TODO, 持续开发中

mqga's People

Contributors

duolanda avatar fangliuyu avatar liggest avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mqga's Issues

线索找全后会刷新新的线索

因为 lan_game_managerclue() 函数没有判断是不是这个群线索已经给全了,如果超过三次之后继续调用这个函数,会直接刷新之前的线索

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.