适用于HoshinoBot下的雀魂插件。可进行近期对局查询、查询个人数据等功能,更多功能正在扩展

Overview

Majsoul_bot

This is a Majsoul plugin for HoshinoBot

这是一个HoshinoBot的雀魂相关插件

本项目目前正在扩展,后续会扩展更多功能,敬请期待

前言

项目地址:https://github.com/DaiShengSheng/Majsoul_bot

本插件数据来源于雀魂牌谱屋:https://amae-koromo.sapk.ch/

由于牌谱屋不收录铜之间以及银之间牌谱,故所有数据仅统计2019年11月29日后金场及以上场次的数据

PS:本插件暂时只支持四麻对局的查询,后续会完善三麻查询功能

安装方法

这个项目使用的HoshinoBot的消息触发器,如果你了解其他机器人框架的api(比如nonebot)可以只修改消息触发器就将本项目移植到其他框架

下面介绍HoshinoBot的安装方法

在 HoshinoBot\hoshino\modules 目录下使用以下命令拉取本项目

git clone https://github.com/Daishengsheng/Majsoul_bot.git

然后使用如下命令安装依赖

pip install -r requirements.txt

然后在 HoshinoBot\hoshino\config\_bot_.py 文件的 MODULES_ON 加入 Majsoul_bot

重启 HoshinoBot

相关指令

牌谱及个人数据查询

命令 说明
雀魂信息/雀魂查询 昵称 查询该昵称的基本对局数据(所有场次) 雀魂信息 天才麻将杏杏
三麻信息/三麻查询 昵称 查询该昵称的三麻的基本对局数据(所有场次) 三麻信息 天才麻将杏杏
雀魂信息/雀魂查询 (金/金之间/金场/玉/王座) 昵称 查询该ID在金/玉/王座之间的详细数据 雀魂信息 王座 天才麻将杏杏
三麻信息/三麻查询 (金/金之间/金场/玉/王座) 昵称 查询该ID在三麻金/玉/王座之间的详细数据 三麻信息 王座 天才麻将杏杏
雀魂牌谱/牌谱查询 昵称 查询该ID下最近五场的四麻对局信息 雀魂牌谱 天才麻将杏杏
三麻牌谱 昵称 查询该ID下最近五场的三麻对局信息 三麻牌谱 天才麻将杏杏

雀魂对局订阅

命令 说明
雀魂订阅 昵称 订阅该昵称在金之间以上的四麻对局信息 雀魂订阅 天才麻将杏杏
三麻订阅 昵称 订阅该昵称在金之间以上的三麻对局信息 三麻订阅 天才麻将杏杏
(取消/关闭)雀魂订阅 昵称 将该昵称在本群的订阅暂时关闭 关闭雀魂订阅 天才麻将杏杏
(取消/关闭)三麻订阅 昵称 将该昵称在本群的三麻订阅暂时关闭 关闭三麻订阅 天才麻将杏杏
开启雀魂订阅 昵称 将该昵称在本群的订阅开启 开启雀魂订阅 天才麻将杏杏
开启三麻订阅 昵称 将该昵称在本群的三麻订阅开启 开启三麻订阅 天才麻将杏杏
删除雀魂订阅 昵称 将该昵称在本群的订阅删除 删除雀魂订阅 天才麻将杏杏
删除三麻订阅 昵称 将该昵称在本群的三麻订阅删除 删除三麻订阅 天才麻将杏杏
雀魂订阅状态 查询本群的雀魂订阅信息的开启状态 雀魂订阅状态
三麻订阅状态 查询本群的雀魂三麻订阅信息的开启状态 三麻订阅状态

效果演示

基本数据查询

基本数据查询

详细数据查询

详细数据查询

近期对局查询

近期对局查询

雀魂对局订阅

雀魂对局订阅

订阅的开启与删除

订阅的开启与删除

更新记录

2021-06-01

  • 更新了三麻信息查询以及订阅功能

2021-05-31

  • 修复了由于获取订阅超时造成的Bot卡顿问题
  • 修复了长时间不启动对对局订阅更新失败的Bug
  • 将对局订阅播报更新为图片形式发送
  • 修复了订阅对局触发多条消息的Bug

2021-05-30

  • 新增了金之间以上的四麻群友对局订阅(迫害)功能(群友又吃四了.jpg
  • 修复了一些不为人知的bug

2021-05-27

  • 雀魂插件出生啦!初步实现了角色四麻数据的查询以及其牌谱的查询
  • 计划加入卡池(新建文件夹)以及三麻查询功能

已知问题

2021-06-02

  • bot在某些特定情况下可能不回应请求(等待修复)

2021-05-30

  • bot在雀魂订阅获取更新时可能会卡死(已修复)
  • bot长时间不启动导致后续启动后对局订阅更新失败的bug(已修复)
  • 订阅信息下一版本更新后将会使用图片发布(已优化)
Owner
黛笙笙
我和代码有一个能跑就行
黛笙笙
Advent of Code 2021 challenges

Data analysis Document here the project: AoC21 Description: Project Description Data Source: Type of analysis: Please document the project the better

Daniel Wendel 1 Jan 07, 2022
ChronoRace is a tool to accurately perform timed race conditions to circumvent application business logic.

ChronoRace is a tool to accurately perform timed race conditions to circumvent application business logic. I've found in my research that w

Tanner 64 Aug 04, 2022
FollowSpot is a comprehensive audition tracking fullstack web application for entertainment industry professionals.

FollowSpot is a comprehensive audition tracking fullstack web application for entertainment industry professionals. This app allows users to store information/media for all of their auditions while a

Jen Brissman 9 Jul 12, 2022
An easy-to-learn, dynamic, interpreted, procedural programming language

Gen Programming Language WARNING!! THIS LANGUAGE IS IN DEVELOPMENT. ANYTHING CAN CHANGE AT ANY MOMENT. Gen is a dynamic, interpreted, procedural progr

Gen Programming Language 7 Oct 17, 2022
Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising) [Still developing...]

Sodium Programming Language Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are deve

Instruction Oriented Programming 22 Jan 11, 2022
Implementation of the Folders📂 esoteric programming language, a language with no code and just folders.

Folders.py Folders is an esoteric programming language, created by Daniel Temkin in 2015, which encodes the program entirely into the directory struct

Sina Khalili 425 Dec 17, 2022
Appointment Tracker that allows user to input client information and update if needed.

Appointment-Tracker Appointment Tracker allows an assigned admin to input client information regarding their appointment and their appointment time. T

IS Coding @ KSU 1 Nov 30, 2021
Lectures for Udemy - Complete Python Bootcamp Course

Complete-Python-Bootcamp Welcome to the Repository for the Complete Python Bootcamp! This is the Repository for the Udemy course - "Complete Python Bo

Marci 2k Dec 28, 2022
Программа для практической работы №12 по дисциплине

Информатика: программа для практической работы №12 Код и блок-схема программы для практической работы №12 по дисциплине "Информатика" (I семестр). Сут

Vladislav 1 Dec 07, 2021
Draw random mazes in python

a-maze Draw random mazes in python This program generates and draws a rectangular maze, with an entrance on one side and one on the opposite side. The

Andrea Pasquali 1 Nov 21, 2021
Pyjiting is a experimental Python-JIT compiler, which is the product of my undergraduate thesis

Pyjiting is a experimental Python-JIT compiler, which is the product of my undergraduate thesis. The goal is to implement a light-weight miniature general-purpose Python JIT compiler.

Lance.Moe 10 Apr 17, 2022
An-7 tool for python

***An-7 tool - Anonime-X Team*** An-x Menu : SPAM Android web malware interpreter Spam Tools : scampages letters mailers smtpcrack wpbrute shell Andro

Hamza Anonime 8 Nov 18, 2021
Xbox-Flood is for flood anything

Intruduction Installation Usage Installing Python 3 Wiki Getting Started Creating a Key Intruduction Xbox-Flood is for flooding messages (invitations

kayake 4 Feb 18, 2022
A normal phoneNumber tracker made with python.

A normal phoneNumber tracker made with python.

CLAYZANE 2 Dec 30, 2021
A python implementation of differentiable quality diversity.

Differentiable Quality Diversity This repository is the official implementation of Differentiable Quality Diversity.

ICAROS 41 Nov 30, 2022
Library management using python & MySQL

Library management using python & MySQL Dev/Editor: Pavan Ananth Sharma & MK Akash Introduction: This is an intermediate project which is a user-frie

Pavan Ananth Sharma 2 Jul 05, 2022
Static bytecode simulator

SEA Static bytecode simulator for creating dependency/dependant based experimental bytecode format for CPython. Example a = random() if a = 5.0:

Batuhan Taskaya 23 Jun 10, 2022
Paprika is a python library that reduces boilerplate. Heavily inspired by Project Lombok.

Image courtesy of Anna Quaglia (Photographer) Paprika Paprika is a python library that reduces boilerplate. It is heavily inspired by Project Lombok.

Rayan Hatout 55 Dec 26, 2022
Basic code and description for GoBigger challenge 2021.

GoBigger Challenge 2021 en / 中文 Challenge Description 2021.11.13 We are holding a competition —— Go-Bigger: Multi-Agent Decision Intelligence Challeng

OpenDILab 183 Dec 29, 2022
Check is a integer is even

Is Even Check if interger is even using isevenapi. https://isevenapi.xyz/ Main features: cache memoization api retry handler hide ads Install pip inst

Rosiney Gomes Pereira 45 Dec 19, 2022