Giter VIP home page Giter VIP logo

nonebot-plugin-majsoul's Introduction

nonebot

nonebot-plugin-majsoul

✨ 雀魂信息查询插件 ✨

license pypi python

DaiShengSheng/Majsoul_bot启发而写的雀魂信息查询 Bot 插件。

功能

雀魂牌谱屋

查询个人数据(可按照时间、按照场数、按照房间类型查询)

指令:/雀魂(三麻)信息 <雀魂账号> [<房间类型>] [最近<数量>场] [最近<数量>{天|周|个月|年}]

雀魂信息

雀魂信息2

查询个人最近对局(可按照房间类型查询)

指令:/雀魂(三麻)对局 <雀魂账号> [<房间类型>]

最近对局

最近对局(消息)

绘制个人PT推移图

若绘图出现乱码或是需要更换绘图字体,请参考下文进行字体配置

指令:/雀魂(三麻)PT图 <雀魂账号> [最近<数量>场] [最近<数量>{天|周|个月|年}]

雀魂PT推移图

雀魂PT推移图(图)

下载雀魂牌谱

将雀魂牌谱保存为天凤JSON格式。必须配置雀魂账号与密码。

指令:/下载雀魂牌谱 <牌谱链接或UUID>

配置字体

更换为系统已安装字体

修改配置项majsoul_font为字体名。

例如:配置majsoul_font=Microsoft YaHei将使用微软雅黑字体

更换为外部字体

修改配置项majsoul_font_path为字体路径,并修改配置项majsoul_font为字体名。

例如:在 https://github.com/lxgw/LxgwWenKai-Lite/releases 下载LXGWWenKaiMonoLite-Regular.ttf并放置于bot根目录,配置majsoul_font_path=LXGWWenKaiMonoLite-Regular.ttf,配置majsoul_font=LXGW WenKai Mono Lite

配置项

majsoul_query_timeout

指令超时(单位:秒)

majsoul_font

绘图用的字体名称

majsoul_font_path

绘图用的字体文件路径

majsoul_username

下载牌谱用的雀魂账号邮箱。推荐使用小号。

majsoul_password

下载牌谱用的雀魂账号密码。推荐使用小号。

See Also

在线乞讨

点击请我打两把maimai

LICENSE

AGPLv3

nonebot-plugin-majsoul's People

Contributors

ssttkkl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nonebot-plugin-majsoul's Issues

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.