适用于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
黛笙笙
我和代码有一个能跑就行
黛笙笙
Distribute PySPI jobs across a PBS cluster

Distribute PySPI jobs across a PBS cluster This repository contains scripts for distributing PySPI jobs across a PBS-type cluster. Each job will conta

Oliver Cliff 1 Feb 10, 2022
Meower a social media platform written in Scratch 3.0 and Python

Meower Meower is a social media platform written in Scratch 3.0 and Python, ported to HTML for self-hosting. Try Beta 4.6 Changelog for 4.6 Start impl

Meower Media Co. 23 Dec 02, 2022
Painel simples com consulta de cep,CNPJ,placa e ip

Painel mpm Um painel simples com consultas de IP, CNPJ, CEP e PLACA Início 🌐 apt update && apt upgrade -y pkg i python git pip install requests Insta

8 Feb 27, 2022
A program to calculate the are of a triangle. made with Python.

Area-Calculator What is Area-Calculator? Area-Calculator is a program to find out the area of a triangle easily. fully made with Python. Needed a pyth

Chandula Janith 0 Nov 27, 2021
Let's make a lot of random function from Scracth...

Pseudo-Random On a whim I asked myself the question about how randomness is integrated into an algorithm? So I started the adventure by trying to code

Yacine 2 Jan 19, 2022
An After Effects render queue for ShotGrid Toolkit.

AEQueue An After Effects render queue for ShotGrid Toolkit. Features Render multiple comps to locations defined by templates in your Toolkit config. C

Brand New School 5 Nov 20, 2022
🐍 A Python lib for (de)serializing Python objects to/from JSON

Turn Python objects into dicts or (json)strings and back No changes required to your objects Easily customizable and extendable Works with dataclasses

Ramon Hagenaars 253 Dec 14, 2022
A script that convert WiiU BotW mods to Switch

UltimateBoTWConverter A script that convert WiiU BotW mods to Switch. It uses every resource I could find under the sun that allows for conversion, wi

11 Nov 08, 2022
dotfiles - Cristian Valero Abundio

In this repository you can find various configurations to configure your Linux operating system, preferably ArchLinux and its derivatives.

Cristian Valero Abundio 1 Jan 09, 2022
🎉 🎉 PyComp - Java Code compiler written in python.

🎉 🎉 PyComp Java Code compiler written in python. This is yet another compiler meant for babcock students project which was created using pure python

Alumona Benaiah 5 Nov 30, 2022
A brainfuck-based game oriented language written in python.

GF.py STILL WIP Gamefuck.py is a programming language based off brainfuck. It is oriented towards game development, and as such has many commands spec

Xenon 1 Feb 23, 2022
A simple python script where the user inputs the current ingredients they have in their kitchen into ingredients.txt

A simple python script where the user inputs the current ingredients they have in their kitchen into ingredients.txt and then runs the main.py script, and it will output what recipes can be created b

Jordan Leich 3 Nov 02, 2022
Ontario-Covid-Screening - An automated Covid-19 School Screening Tool for Ontario

Ontario-Covid19-Screening An automated Covid-19 School Screening Tool for Ontari

Rayan K 0 Feb 20, 2022
Python MQTT v5.0 async client

gmqtt: Python async MQTT client implementation. Installation The latest stable version is available in the Python Package Index (PyPi) and can be inst

Gurtam 306 Jan 03, 2023
Herramienta para pentesting web.

iTell 🕴 ¡Tool con herramientas para pentesting web! Metodos ❣ DDoS Attacks Recon Active Recon (Vulns) Extras (Bypass CF, FTP && SSH Bruter) Respons

1 Jul 28, 2022
BOHB tune library template (included example)

BOHB-template 실행 방법 python main.py 2021-10-10 기준 tf keras 버전 (tunecallback 방식) 완료 tf gradienttape 버전 (train_iteration 방식) 완료 pytorch 버전은 구현 준비중 방법 소개

Seungwoo Han 5 Mar 24, 2022
Desafio Final do Mod1 do Bootcamp EDC - v2 usando a RAIS

IGTI - Bootcamp Engenheiro de Dados Cloud Módulo 1 - Desafio Final - RAIS 2020 Código do Desafio Final V2 do Bootcamp Engenheiro de Dados Cloud do IGT

Neylson Crepalde 17 Nov 02, 2022
Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero.

Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value of each fraction on a new line with places after the decimal.

Shruti Dhave 2 Nov 29, 2021
a simple thing that i made for fun :trollface:

we-do-a-little-trolling about a simple thing that i made for fun. requirements and instructions first you need to install obs , then start the virtual

ranon rat 6 Jul 15, 2022
Automatically unpin old messages so you can always pin more!

PinRotate Automatically unpin old messages so you can always pin more! Installation You will need to install poetry to run this bot locally for develo

3 Sep 18, 2022