Coder Social home page Coder Social logo

clanbattleretire's Introduction

clanbattleretire

这是一个使用hoshino自带的clanbattle v2的数据生成离职报告、会战报告和出刀时间分布的hoshino插件。

注意:本插件读取clanbattlev2插件的数据库,并基于使用者上报的数据生成报告。如因滥用公会战功能导致报告不准确,或是程序故障导致数据损坏,开发者不承担任何责任。

安装说明:

此插件适用于hoshino V2。安装步骤如下:

  • 将clanbattleretire文件夹放入modules文件夹中
  • config/__bot__.py的模块列表里加入clanbattleretire
  • 根据目录下的requirements.txt安装依赖。依赖包括:sqlite3, pandas, numpy, matplotlib
  • 重启hoshino

使用方法:

  • [离职报告]:生成一张本期离职报告
  • [会战报告]:生成一张本期会战报告
  • [看看报告 @qq]:管理员查看群友的会战报告。若at了多人,会显示最后一人的报告。
  • [出刀时间统计]:生成一张本公会此次公会战的出刀时间分布统计

每次生成报告后有2分钟的冷却时间,可以在__init__.py中调整。管理员查看群友报告则不受冷却时间影响。

每月20号之前会生成上月报告,20号之后生成本月报告,如果本月公会战还未开始则会报错。

不同服务器上显示效果可能有细微不同,请尝试微调__init__.py里的坐标参数。

已知问题

暂无。若发现问题,希望提交issue。非常感谢。

鸣谢

  • 倚栏待月——基础代码编写
  • 明见——背景图片与字体提供
  • qq3193377836
  • 魔法の書——增强显示效果

开源

本插件以GPL-v3协议开源。项目地址

clanbattleretire's People

Contributors

iamwyh2019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

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.