适用于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
黛笙笙
我和代码有一个能跑就行
黛笙笙
디텍션 유틸 모음

Object detection utils 유틸모음 설명 링크 convert convert 관련코드 https://github.com/AI-infinyx/ob_utils/tree/main/convert crawl 구글, 네이버, 빙 등 크롤링 관련 https://gith

codetest 41 Jan 22, 2021
Cairo-bloom - A naive bloom filter implementation in Cairo

🥀 cairo-bloom A naive bloom filter implementation in Cairo. A Bloom filter is a

Sam Barnes 37 Oct 01, 2022
A Python Perforce package that doesn't bring in any other packages to work.

P4CMD 🌴 A Python Perforce package that doesn't bring in any other packages to work. Relies on p4cli installed on the system. p4cmd The p4cmd module h

Niels Vaes 13 Dec 19, 2022
Notes on the Deep Learning book from Ian Goodfellow, Yoshua Bengio and Aaron Courville (2016)

The Deep Learning Book - Goodfellow, I., Bengio, Y., and Courville, A. (2016) This content is part of a series following the chapter 2 on linear algeb

hadrienj 1.7k Jan 07, 2023
The Doodle Master seeks to turn your UI mockups into real code.

Doodle Master The Doodle Master seeks to turn your UI mockups into real code. Currently this repository just serves to demonstrate a Proof Of Concept

Karanbir Chahal 2.4k Dec 09, 2022
A tutorial presents several practical examples of how to build DAGs in Apache Airflow

Apache Airflow - Python Brasil 2021 Este tutorial apresenta vários exemplos práticos de como construir DAGs no Apache Airflow. Background Apache Airfl

Jusbrasil 14 Jun 03, 2022
Open slidebook .sldy files in Python

Work in progress slidebook-python Open slidebook .sldy files in Python To install slidebook-python requires Python = 3.9 pip install slidebook-python

The Institute of Cancer Research 2 May 04, 2022
Notifies server owners of mod updates, also notifies of player deaths and player joins through Discord.

ProjectZomboid-ServerAssistant Notifies server owners of mod updates, also notifies of player deaths and player joins through Discord. A Python based

3 Sep 30, 2022
Reference python implementation of Chia pool operations for pool operators

This repository provides a sample server written in python, which is meant to server as a basis for a Chia Pool. While this is a fully functional implementation, it requires some work in scalability

Chia Network 451 Dec 13, 2022
My Dotfiles of Arco Linux

Arco-DotFiles My Dotfiles of Arco Linux Apps Used Htop LightDM lightdm-webkit2-greeter Alacritty Qtile Cava Spotify nitrogen neofetch Spicetify Thunar

$BlueDev5 6 Dec 11, 2022
Python with braces. Because Python is awesome, but whitespace is awful.

Bython Python with braces. Because Python is awesome, but whitespace is awful. Bython is a Python preprosessor which translates curly brackets into in

1 Nov 04, 2021
Digitales Raumbuch

Helios Digitales Raumbuch Settings Moved to settings. Basic Commands Setting Up Your Users To create a normal user account, just go to Sign Up and fil

1 Nov 19, 2021
A general illumination correction method for optical microscopy.

CIDRE About CIDRE is a retrospective illumination correction method for optical microscopy. It is designed to correct collections of images by buildin

Kevin Smith 31 Sep 07, 2022
switching computer? changing your setup? You need to automate the download of your current setup? This is the right tool for you :incoming_envelope:

🔮 setup_shift(SS.py) switching computer? changing your setup? You need to automate the download of your current setup? This is the right tool for you

Mohamed Elfaleh 15 Aug 26, 2022
A multi-platform fuzzer for poking at userland binaries and servers

litefuzz A multi-platform fuzzer for poking at userland binaries and servers litefuzz intro why how it works what it does what it doesn't do support p

52 Nov 18, 2022
Types for the Rasterio package

types-rasterio Types for the rasterio package A work in progress Install Not yet published to PyPI pip install types-rasterio These type definitions

Kyle Barron 7 Sep 10, 2021
This is an independent project to track Nubank expenses

Nubank expense tracker This is an independent project to track Nubank expenses. To fetch Nubank data we are going to use an unofficial Nubank API, tha

Ramon Gazoni Lacerda 0 Aug 28, 2022
Djangoblog - A blogging site where people can make their accout and write blogs and read other author's blogs

This a blogging site where people can make their accout and write blogs and read other author's blogs.

1 Jan 26, 2022
Web-based Sudoku solver built using Python. A demonstration of how backtracking works.

Sudoku Solver A web-based Sudoku solver built using Python and Python only The motivation is to demonstrate how Backtracking algorithm works. Some of

Jerry Ng 2 Dec 31, 2022
Project of the MSEC_LDD . group

HackathonJuntionXHN Project of team MSEC_LQĐ What did we do? Building application to generate whitelist regex for Web application firewall How to setu

Nguyễn Mạnh Cường 0 Dec 19, 2021